mirror of
https://github.com/hyprwm/hyprlock.git
synced 2026-05-08 22:08:02 +02:00
update conditions for onClick
This commit is contained in:
parent
2992d9bb5d
commit
d5e49522e8
1 changed files with 1 additions and 1 deletions
|
|
@ -647,7 +647,7 @@ bool CPasswordInputField::onPointerMove(const Vector2D& pos) {
|
|||
|
||||
void CPasswordInputField::onClick(uint32_t button, bool down, const Vector2D& pos) {
|
||||
|
||||
if (!password.text.asset || !password.eye.openAsset || !down)
|
||||
if (!password.text.asset || !password.allowToggle || password.eye.hide || !down)
|
||||
return;
|
||||
|
||||
CBox eyeBox = getEyeBox();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue