Merge pull request #6733 from penpot/eva-bugfixing

🐛 Fix some bugs
This commit is contained in:
Andrey Antukh 2025-06-19 15:29:34 +02:00 committed by GitHub
commit 0f46efc117
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 15 additions and 8 deletions

View file

@ -53,6 +53,11 @@ on-premises instances** that want to keep up to date.
- Fix wrong color in the export progress bar [Taiga #11299](https://tree.taiga.io/project/penpot/issue/11299)
- Fix right sidebar width overflow on long layer names [Taiga #11212](https://tree.taiga.io/project/penpot/issue/11212)
- Fix comment icon fill [Taiga #11388](https://tree.taiga.io/project/penpot/issue/11388)
- Fix gap on radio-buttons component [Taiga #11360](https://tree.taiga.io/project/penpot/issue/11360)
- Fix button width [Taiga #11394](https://tree.taiga.io/project/penpot/issue/11394)
- Fix mixed letter spacing and line height [Taiga #11178](https://tree.taiga.io/project/penpot/issue/11178)
- Fix snap nodes shortcut [Taiga #11054](https://tree.taiga.io/project/penpot/issue/11054)
## 2.7.2
### :bug: Bugs fixed

View file

@ -73,7 +73,8 @@
:fn #(st/emit! (drp/make-curve))}
:snap-nodes {:tooltip (ds/meta "'")
:command (ds/c-mod "'")
;;https://github.com/ccampbell/mousetrap/issues/85
:command [(ds/c-mod "'") (ds/c-mod "219")]
:subsections [:path-editor]
:fn #(st/emit! (drp/toggle-snap))}

View file

@ -11,6 +11,7 @@
border-radius: $br-8;
height: $s-32;
background-color: var(--input-background-color);
gap: $s-4;
}
.radio-icon {

View file

@ -39,6 +39,7 @@
.multiple-exports {
@include flexRow;
grid-column: 1 / 9;
}
.label {

View file

@ -360,11 +360,8 @@
[{:keys [values on-change on-blur]}]
(let [{:keys [line-height
letter-spacing]} values
line-height (or line-height "1.2")
letter-spacing (or letter-spacing "0")
line-height-nillable (if (= (str line-height) "1.2") false true)
handle-change
(fn [value attr]
(on-change {attr (str value)}))]
@ -379,11 +376,11 @@
{:min -200
:max 200
:step 0.1
:default "1.2"
:default-value "1.2"
:class (stl/css :line-height-input)
:value (attr->string line-height)
:placeholder (tr "settings.multiple")
:nillable line-height-nillable
:placeholder (if (= :multiple line-height) (tr "settings.multiple") "--")
:nillable (= :multiple line-height)
:on-change #(handle-change % :line-height)
:on-blur on-blur}]]
@ -397,10 +394,12 @@
{:min -200
:max 200
:step 0.1
:default-value "0"
:class (stl/css :letter-spacing-input)
:value (attr->string letter-spacing)
:placeholder (tr "settings.multiple")
:placeholder (if (= :multiple letter-spacing) (tr "settings.multiple") "--")
:on-change #(handle-change % :letter-spacing)
:nillable (= :multiple letter-spacing)
:on-blur on-blur}]]]))
(mf/defc text-transform-options