We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4048e3d commit c4f7816Copy full SHA for c4f7816
data/core/iface.lua
@@ -215,8 +215,7 @@ function iface.input_set(v)
215
end
216
function iface.input_visible()
217
if not input_attached then return false end
218
- local y = input_attached.y - mwin.off + mwin.pad
219
- return y < mwin.pad + mwin.lay.h
+ return input_attached.y - mwin.off + mwin.pad + input_attached.h <= mwin.pad + mwin.lay.h
220
221
function iface.mouse(e, v, a, b)
222
if input_attached and e == 'mousedown' then
0 commit comments