mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 04:06:13 +02:00
🐛 Avoid numeric inputs to allow big numbers
This commit is contained in:
parent
4909e7861f
commit
134265094c
2 changed files with 30 additions and 29 deletions
|
@ -42,6 +42,7 @@
|
|||
|
||||
### :bug: Bugs fixed
|
||||
|
||||
- Avoid numeric inputs to allow big numbers [Taiga #2858](https://tree.taiga.io/project/penpot/issue/2858)
|
||||
- Fix component contex menu size [Taiga #2480](https://tree.taiga.io/project/penpot/issue/2480)
|
||||
- Add shadow to artboard make it lose the fill [Taiga #3139](https://tree.taiga.io/project/penpot/issue/3139)
|
||||
- Avoid numeric inputs to change its value without focusing them [Taiga #3140](https://tree.taiga.io/project/penpot/issue/3140)
|
||||
|
|
|
@ -82,8 +82,8 @@
|
|||
(cond
|
||||
(d/num? new-value)
|
||||
(-> new-value
|
||||
(cljs.core/max us/min-safe-int)
|
||||
(cljs.core/min us/max-safe-int)
|
||||
(cljs.core/max (/ us/min-safe-int 2))
|
||||
(cljs.core/min (/ us/max-safe-int 2))
|
||||
(cond->
|
||||
(d/num? min-val)
|
||||
(cljs.core/max min-val)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue