mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-18 21:14:31 -04:00
fix: make the buttons non-responsive to the spacebar
This commit is contained in:
@ -8,6 +8,7 @@ import (
|
||||
"gioui.org/unit"
|
||||
"gioui.org/widget/material"
|
||||
"github.com/vsariola/sointu/tracker"
|
||||
patched "github.com/vsariola/sointu/tracker/gioui/patch/material"
|
||||
)
|
||||
|
||||
type Dialog struct {
|
||||
@ -22,9 +23,9 @@ type DialogStyle struct {
|
||||
Text string
|
||||
Inset layout.Inset
|
||||
TextInset layout.Inset
|
||||
AltStyle material.ButtonStyle
|
||||
OkStyle material.ButtonStyle
|
||||
CancelStyle material.ButtonStyle
|
||||
AltStyle patched.ButtonStyle
|
||||
OkStyle patched.ButtonStyle
|
||||
CancelStyle patched.ButtonStyle
|
||||
Shaper *text.Shaper
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user