From 1de50da0be09758240636ff155ddf60f19773054 Mon Sep 17 00:00:00 2001 From: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com> Date: Sun, 6 Sep 2026 01:44:40 +0100 Subject: [PATCH] Adjust button formatting --- exp_scenario/module/gui/surveillance.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exp_scenario/module/gui/surveillance.lua b/exp_scenario/module/gui/surveillance.lua index 11057e0a..11b1cd58 100644 --- a/exp_scenario/module/gui/surveillance.lua +++ b/exp_scenario/module/gui/surveillance.lua @@ -218,9 +218,9 @@ Elements.cursor_slot = Gui.define("surveillance/cursor_slot") tooltip = { "exp-gui_surveillance.tooltip-cursor-empty" }, } :style{ - height = 24, - width = 24, - padding = 0, + height = 26, + width = 26, + margin = { -1, -1, -1, -2 }, } :element_data( Gui.from_argument(1) @@ -286,6 +286,7 @@ Elements.container = Gui.define("surveillance/container") local target_player = Gui.get_player(parent) local camera = Elements.camera(screen_frame, target_player) + Elements.cursor_slot(button_flow, camera) local type_dropdown_data = { camera = camera, @@ -296,7 +297,6 @@ Elements.container = Gui.define("surveillance/container") Elements.type_dropdown(button_flow, type_dropdown_data) Elements.zoom_out_button(button_flow, camera) Elements.zoom_in_button(button_flow, camera) - Elements.cursor_slot(button_flow, camera) return Gui.elements.screen_frame.get_root_element(screen_frame) end)