Add cursor states to bars and sliders

This commit is contained in:
LoafyLemon 2024-06-17 19:43:08 +01:00
parent 53cfc1bf23
commit c8a9b39c00
2 changed files with 5 additions and 2 deletions

View File

@ -59,6 +59,7 @@ style bar:
thumb Frame("scrollbar_horizontal_[prefix_]thumb", gui.slider_borders, tile=gui.slider_tile)
hover_sound "sounds/qubodup-hover1.ogg"
activate_sound "sounds/qubodup-click2.ogg"
mouse "button"
# style vbar:
# unscrollable gui.unscrollable
@ -73,6 +74,7 @@ style scrollbar:
thumb Frame("scrollbar_horizontal_[prefix_]thumb", gui.slider_borders, tile=gui.slider_tile)
hover_sound "sounds/qubodup-hover1.ogg"
activate_sound "sounds/qubodup-click2.ogg"
mouse "button"
style vscrollbar:
unscrollable gui.unscrollable
@ -81,6 +83,7 @@ style vscrollbar:
thumb Frame("scrollbar_vertical_[prefix_]thumb", gui.slider_borders, tile=gui.slider_tile)
hover_sound "sounds/qubodup-hover1.ogg"
activate_sound "sounds/qubodup-click2.ogg"
mouse "button"
# style dark_vscrollbar:
# unscrollable gui.unscrollable

View File

@ -14,7 +14,7 @@ screen settings_general():
textbutton _("System Cursor") action Preference("system cursor", "toggle")
textbutton _("Autosaves") action ToggleField(store, "_autosave")
textbutton _("Automatic Update Checks") action settings.Toggle("updates")
textbutton _("Kinetic Text") action settings.Toggle("kinetictext")
textbutton _("Kinetic Text") action settings.Toggle("kinetictext") tooltip "{bounce}Kinetic Text Example.{/bounce}"
text _("Skipping")
textbutton _("Skip Unseen Text") action Preference("skip", "toggle")
@ -27,7 +27,7 @@ screen settings_general():
bar value Preference("auto-forward time") style "navigation_bar"
textbutton _("Power-saving") action Preference("gl powersave", "toggle")
textbutton _("multithreading") action settings.Toggle("multithreading") tooltip "Improves performance by executing tasks asynchronously. (Requires restart)"
textbutton _("multithreading") action settings.Toggle("multithreading") tooltip "Improves performance by executing tasks asynchronously. (Requires restart)"
frame style "navigation_page_right":
if settings.get("tooltip"):
add "doodle_hermione" align (0.5, 0.5)