From 67e09e52f3a8c75d3e670930eece58eeef51736a Mon Sep 17 00:00:00 2001 From: Alex <48759429+Aurumaker72@users.noreply.github.com> Date: Fri, 30 Jun 2023 20:04:44 +0200 Subject: [PATCH] Fix textbox drawing --- mupen-lua-ugui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mupen-lua-ugui.lua b/mupen-lua-ugui.lua index 06b6b13..8c0d235 100644 --- a/mupen-lua-ugui.lua +++ b/mupen-lua-ugui.lua @@ -721,7 +721,7 @@ Mupen_lua_ugui = { if Mupen_lua_ugui.active_control_uid == control.uid and control.is_enabled then visual_state = Mupen_lua_ugui.visual_states.active end - Mupen_lua_ugui.stylers.windows_10.draw_edit_frame(control, visual_state) + Mupen_lua_ugui.stylers.windows_10.draw_edit_frame(control, control.rectangle, visual_state) local should_visualize_selection = not (Mupen_lua_ugui.control_data[control.uid].selection_start == nil) and not (Mupen_lua_ugui.control_data[control.uid].selection_end == nil) and control.is_enabled and