summaryrefslogtreecommitdiff
path: root/xmake/core/ui/window.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-01-16 00:30:52 +0800
committerruki <[email protected]>2018-01-15 21:05:13 +0800
commitaf73bd6d7c07a97d9f02f3a8dc67754ac5c68f23 (patch)
treed3db60d43632effe12af4e5dc9e733a1ef059065 /xmake/core/ui/window.lua
parentf0cd6845f16de9b6b55925b31e68114c01be2b18 (diff)
fix border.draw()
Diffstat (limited to 'xmake/core/ui/window.lua')
-rw-r--r--xmake/core/ui/window.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/ui/window.lua b/xmake/core/ui/window.lua
index d29d57e47..ff50e3481 100644
--- a/xmake/core/ui/window.lua
+++ b/xmake/core/ui/window.lua
@@ -101,6 +101,9 @@ function window:border()
local border = view:new("window.border", self:frame():bounds())
function border:draw()
+ -- draw background (transparent)
+ view.draw(self, true)
+
-- get corner attribute
local cornerattr = self:cornerattr()