Fix label early key detection in scrolling logic

Current logic is because @myk002 fixed it so label would allow other widgets control when label(s) are present. However that breaks label key detection for default scroll keys. This can be worked around by setting scrollkeys to empty.

TBH: label is quite complicated and used everwhere so i'm reluctant to touch it and would love for someone to look over if i'm correct.
develop
Warmist 2021-06-22 11:31:00 +03:00 committed by GitHub
parent 2fc5fbacb5
commit b7069a5ebd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

@ -442,7 +442,6 @@ function Label:onInput(keys)
v = -self.frame_body.height
end
self:scroll(v)
return false
end
end
return check_text_keys(self, keys)