Describe the bug
Hi all,
That was my first steps with ML4W, I found a small bug, to be fixed relatively fast.
In keybindings configuration default.lua there is lack of relative = true directive, making window resize unusable with message ?.? invalid size.
Original :
--hl.bind(mainMod .. " + SHIFT + right", hl.dsp.window.resize({ x = 100, y = 0 }), { description = "Increase window width with keyboard" })
Fixed:
hl.bind(mainMod .. " + SHIFT + right", hl.dsp.window.resize({ x = 100, y = 0, relative = true }), { description = "Increase window width with keyboard" })
Kind regards
Sl.
Steps to reproduce
- Run terminal in window
- Press Shift + Super + arrows (left, right etc)
- Message will appear - window won't be resized
Expected behavior
Window to be resized
Screenshots
No response
Distribution
Arch Linux
If Other, specify
No response
Additional context
Thanks for your work, ML4W looks stunning
Code of Conduct
Describe the bug
Hi all,
That was my first steps with ML4W, I found a small bug, to be fixed relatively fast.
In keybindings configuration default.lua there is lack of relative = true directive, making window resize unusable with message ?.? invalid size.
Original :
--hl.bind(mainMod .. " + SHIFT + right", hl.dsp.window.resize({ x = 100, y = 0 }), { description = "Increase window width with keyboard" })
Fixed:
hl.bind(mainMod .. " + SHIFT + right", hl.dsp.window.resize({ x = 100, y = 0, relative = true }), { description = "Increase window width with keyboard" })
Kind regards
Sl.
Steps to reproduce
Expected behavior
Window to be resized
Screenshots
No response
Distribution
Arch Linux
If Other, specify
No response
Additional context
Thanks for your work, ML4W looks stunning
Code of Conduct