Don't let window title affect interative proximity

This commit is contained in:
Tomas Sardyha
2020-04-20 23:00:56 +02:00
parent be37c0d48a
commit 647e95c89f

View File

@@ -2131,8 +2131,7 @@ elements:add('window_controls', Element.new({
end) end)
end, end,
on_display_resize = function(this) on_display_resize = function(this)
local ax = display.width - (config.window_controls.button_width * 3) this.ax = display.width - (config.window_controls.button_width * 3)
this.ax = options.title and 0 or ax
this.ay = 0 this.ay = 0
this.bx = display.width this.bx = display.width
this.by = config.window_controls.height this.by = config.window_controls.height