diff options
| author | ruki <[email protected]> | 2020-11-26 22:45:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-26 22:45:43 +0800 |
| commit | d1f2ddce09ce709b1fd07e9ba25449f095325652 (patch) | |
| tree | e31005972cba778ef5a7e5b28abcd6ecff183842 /xmake/core/ui/dialog.lua | |
| parent | 6426a1e2f0dea74ee3d82abe9f8b7aa46ed9ef9f (diff) | |
improve textedit/mouse
Diffstat (limited to 'xmake/core/ui/dialog.lua')
| -rw-r--r-- | xmake/core/ui/dialog.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/ui/dialog.lua b/xmake/core/ui/dialog.lua index b92995f06..d3114a941 100644 --- a/xmake/core/ui/dialog.lua +++ b/xmake/core/ui/dialog.lua @@ -63,6 +63,9 @@ function dialog:init(name, bounds, title) self:buttons():bounds_set(rect:new(0, v:height() - 1, v:width(), 1)) self:_update_buttons_layout() end) + + -- mark as block mouse + self:option_set("blockmouse", true) end -- get buttons |
