Skip to content

Commit

Permalink
Fix issues with overlapping style prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamscached committed Dec 20, 2024
1 parent 888d5b4 commit 36fd2ca
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions mod/screen.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -1038,19 +1038,23 @@ style fom_saysomething_picker_frame is gui_frame:
style fom_saysomething_picker_frame_dark is gui_frame:
background Frame(["gui/confirm_frame.png", "gui/frame_d.png"], gui.confirm_frame_borders, tile=gui.frame_tile)

style fom_saysomething_confirm_button is generic_button_light:
style fom_saysomething_confirm_fom_prompt is confirm_prompt
style fom_saysomething_confirm_fom_prompt_text is confirm_prompt_text
style fom_saysomething_confirm_fom_prompt_text_dark is confirm_prompt_text_dark

style fom_saysomething_confirm_fom_button is generic_button_light:
xysize (116, None)
padding (10, 5, 10, 5)

style fom_saysomething_confirm_button_dark is generic_button_dark:
style fom_saysomething_confirm_fom_button_dark is generic_button_dark:
xysize (116, None)
padding (10, 5, 10, 5)

style fom_saysomething_confirm_button_text is generic_button_text_light:
style fom_saysomething_confirm_fom_button_text is generic_button_text_light:
text_align 0.5
layout "subtitle"

style fom_saysomething_confirm_button_text_dark is generic_button_text_dark:
style fom_saysomething_confirm_fom_button_text_dark is generic_button_text_dark:
text_align 0.5
layout "subtitle"

Expand Down Expand Up @@ -1207,7 +1211,7 @@ screen fom_saysomething_picker(say=True):
padding (0, 0)

hbox:
style_prefix "fom_saysomething_confirm"
style_prefix "fom_saysomething_confirm_fom"

xmaximum 350
xfill True
Expand Down Expand Up @@ -1380,7 +1384,7 @@ screen fom_saysomething_picker(say=True):
padding (0, 10, 0, 0)

hbox:
style_prefix "fom_saysomething_confirm"
style_prefix "fom_saysomething_confirm_fom"

xmaximum 350
xfill True
Expand Down Expand Up @@ -1462,7 +1466,7 @@ screen fom_saysomething_picker(say=True):
style_prefix "check_scrollable_menu"

hbox:
style_prefix "fom_saysomething_confirm"
style_prefix "fom_saysomething_confirm_fom"
xysize (210, None)
spacing 5

Expand All @@ -1475,7 +1479,7 @@ screen fom_saysomething_picker(say=True):
action Function(picker.select_from_clipboard)

textbutton _("Reset Pose"):
style_prefix "fom_saysomething_confirm"
style_prefix "fom_saysomething_confirm_fom"
xysize (210, None)
action Function(picker.on_reset_pose)

Expand Down

0 comments on commit 36fd2ca

Please sign in to comment.