From ccefc229e388d5502891016329ca74dca10030c2 Mon Sep 17 00:00:00 2001 From: kernaltrap Date: Thu, 6 Feb 2025 14:14:19 -0600 Subject: [PATCH] Fix some broken comments Test push to test Windows build Signed-off-by: kernaltrap --- _qb/dx/menu/deluxe_menu.q | 4 ++-- _qb/dx/menu/modifiers_menu.q | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/_qb/dx/menu/deluxe_menu.q b/_qb/dx/menu/deluxe_menu.q index 06d6cd3..9a3c885 100644 --- a/_qb/dx/menu/deluxe_menu.q +++ b/_qb/dx/menu/deluxe_menu.q @@ -436,10 +436,10 @@ script 0x1e5afd34 endscript script menu_dx_highlight_item GetTags - set_focus_color rgba = [0 255 255 250] ; i would rather not do this but none of the other ways i tried worked + set_focus_color rgba = [0 255 255 250] endscript script menu_dx_remove_highlight GetTags - set_focus_color rgba = [210 210 210 250] ; same goes + set_focus_color rgba = [210 210 210 250] endscript diff --git a/_qb/dx/menu/modifiers_menu.q b/_qb/dx/menu/modifiers_menu.q index 4b54b40..d369110 100644 --- a/_qb/dx/menu/modifiers_menu.q +++ b/_qb/dx/menu/modifiers_menu.q @@ -231,7 +231,7 @@ script create_dx_mods_menu \{Popup = 0} CreateScreenElement { Type = TextElement Id = dx_settings_scroller_up - PARENT = + PARENT = dx_settings_text font = text_a1 Pos = (83.0, 105.0) Text = '^' @@ -246,17 +246,17 @@ script create_dx_mods_menu \{Popup = 0} CreateScreenElement { Type = TextElement Id = dx_settings_scroller_down - PARENT = pause_menu_frame_container + PARENT = dx_settings_text font = text_a1 - Pos = (638.0, 550.0) + Pos = (83.0, 420.0) Text = '^' rgba = $scroller_rgba just = [Center Top] - Scale = (1.2, -1.2) + Scale = (0.8, -1.3) Shadow shadow_offs = (3.0, 3.0) shadow_rgba [0 0 0 255] - z_priority = ( + 103) + z_priority = ( + 104) } CreateScreenElement { Type = TextBlockElement @@ -400,11 +400,11 @@ script menu_dx_mods_scroll_down if ( = 1) generic_menu_up_or_down_sound \{DOWN} dx_settings_scroller_down :SetProps rgba = [255 255 255 240] - dx_settings_scroller_down :SetProps Pos = (638.0, 555.0) + dx_settings_scroller_down :SetProps Pos = (83.0, 425.0) Wait \{200 milliseconds} dx_settings_scroller_down :SetProps rgba = $scroller_rgba - dx_settings_scroller_down :SetProps Pos = (638.0, 550.0) + dx_settings_scroller_down :SetProps Pos = (83.0, 420.0) endif endscript