Skip to content

Commit

Permalink
Fix textbox drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurumaker72 committed Jun 30, 2023
1 parent 7b62c64 commit 67e09e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mupen-lua-ugui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67e09e5

Please sign in to comment.