🐛 Fix problem with numeric inputs

This commit is contained in:
alonso.torres 2024-02-05 16:56:09 +01:00 committed by Andrey Antukh
parent 512e9b2070
commit 4c683bb10c
3 changed files with 30 additions and 4 deletions

View file

@ -71,8 +71,8 @@
[:rect.margin-rect
{:x (:x rect-data)
:y (:y rect-data)
:width (:width rect-data)
:height (:height rect-data)
:width (max 0 (:width rect-data))
:height (max 0 (:height rect-data))
:on-pointer-enter on-pointer-enter
:on-pointer-leave on-pointer-leave
:on-pointer-down on-pointer-down