Fix window type for tear-off menus
This commit is contained in:
parent
51afca6a3f
commit
dfc5c4514a
@ -473,7 +473,7 @@ func windowKindToType (kind tomo.WindowKind) string {
|
||||
case tomo.WindowKindNormal: return "NORMAL"
|
||||
case tomo.WindowKindPlain: return "DOCK"
|
||||
case tomo.WindowKindUtility: return "UTILITY"
|
||||
case tomo.WindowKindToolbar: return "TOOLBAR"
|
||||
case tomo.WindowKindToolbar: return "MENU"
|
||||
case tomo.WindowKindMenu: return "POPUP_MENU"
|
||||
case tomo.WindowKindModal: return "NORMAL"
|
||||
default: return strings.ReplaceAll(strings.ToUpper(string(kind)), " ", "_")
|
||||
|
Loading…
Reference in New Issue
Block a user