v/GTT
1
0
mirror of https://github.com/eeeXun/GTT.git synced 2025-05-17 08:10:22 -07:00

update transparent CurrentOption

This commit is contained in:
eeeXun 2022-10-24 13:08:54 +08:00
parent 4bf68d1763
commit 58762c6f8b

3
ui.go
View File

@ -235,6 +235,9 @@ func pagesHandler(event *tcell.EventKey) *tcell.EventKey {
} }
updateBackgroundColor() updateBackgroundColor()
transparent = !transparent transparent = !transparent
transparentDropDown.SetCurrentOption(
IndexOf(strconv.FormatBool(transparent),
[]string{"true", "false"}))
} }
return event return event