VectorCraft: An open-source, vector art tool written by scratch in pure Rust
Shortcuts: Shift+Comma and Shift+Period also apply the last color and gradient
dotCooCoo26ac7799e7d3
diff --git a/crates/ui-egui/src/i18n/bg.tsv b/crates/ui-egui/src/i18n/bg.tsvindex a97c6c2d4..0f0487551 100644--- a/crates/ui-egui/src/i18n/bg.tsv+++ b/crates/ui-egui/src/i18n/bg.tsv@@ -495,7 +495,7 @@ font-technology Variable ПроменливиCollect in New Layer Събиране в нов слойCollect Links in a Separate Folder Събиране на връзките в отделна папкаColor Цвят- Color (,) Цвят (,)+ Color (, or <) Цвят (, или <)Color Adjustments Цветови корекцииColor bars Цветови скалиColor blindness – Deuteranopia-type Цветна слепота – тип девтеранопия@@ -1236,7 +1236,7 @@ font-technology Variable ПроменливиGPL palettes keep solid colours only, as RGB. Палитрите GPL запазват само плътни цветове като RGB.GPU Performance Производителност на графичния процесорGradient Градиент- Gradient (.) Градиент (.)+ Gradient (. or >) Градиент (. или >)Gradient across stroke Градиент напречно на щрихаGradient along stroke Градиент по дължината на щрихаGradient and Mesh Resolution: Разделителна способност на градиент и мрежа:diff --git a/crates/ui-egui/src/i18n/ca.tsv b/crates/ui-egui/src/i18n/ca.tsvindex 7a044e61c..226aadf8f 100644--- a/crates/ui-egui/src/i18n/ca.tsv+++ b/crates/ui-egui/src/i18n/ca.tsv@@ -708,7 +708,7 @@Collect in New Layer Recull en una capa novaCollect Links in a Separate Folder Recull els enllaços en una carpeta a partColor Color- Color (,) Color (,)+ Color (, or <) Color (, o <)Color Adjustments Ajustos de colorColor bars Barres de colorColor blindness – Deuteranopia-type Daltonisme – tipus deuteranòpsia@@ -1691,7 +1691,7 @@GPU Performance Rendiment de la GPUGrab bag Calaix de sastreGradient Degradat- Gradient (.) Degradat (.)+ Gradient (. or >) Degradat (. o >)Gradient across stroke Degradat transversal al traçGradient along stroke Degradat al llarg del traçGradient and Mesh Resolution: Resolució de degradat i malla:diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsvindex 14684ace5..49c74aeab 100644--- a/crates/ui-egui/src/i18n/cs.tsv+++ b/crates/ui-egui/src/i18n/cs.tsv@@ -1209,12 +1209,12 @@ lighting Light Světloto set spacing and orientation nastaví rozestupy a orientaciApply PoužítChange Screen Mode (F) Změnit režim obrazovky (F)- Color (,) Barva (,)+ Color (, or <) Barva (, nebo <)Draw Behind Kreslit zaDraw Inside Kreslit dovnitřDraw Normal Kreslit normálněExpand: Rozložit:- Gradient (.) Přechod (.)+ Gradient (. or >) Přechod (. nebo >)H: V:Modify ÚpravyNavigate Pohleddiff --git a/crates/ui-egui/src/i18n/da.tsv b/crates/ui-egui/src/i18n/da.tsvindex 5b8631c20..f5ef32004 100644--- a/crates/ui-egui/src/i18n/da.tsv+++ b/crates/ui-egui/src/i18n/da.tsv@@ -1127,12 +1127,12 @@ lighting Light Lysto set spacing and orientation for at angive afstand og orienteringApply AnvendChange Screen Mode (F) Skift skærmtilstand (F)- Color (,) Farve (,)+ Color (, or <) Farve (, eller <)Draw Behind Tegn bagvedDraw Inside Tegn indeniDraw Normal Tegn normaltExpand: Udvid:- Gradient (.) Gradient (.)+ Gradient (. or >) Gradient (. eller >)H: H:Modify ÆndrNavigate Navigérdiff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsvindex 77ccc6460..c5ce10431 100644--- a/crates/ui-egui/src/i18n/de.tsv+++ b/crates/ui-egui/src/i18n/de.tsv@@ -487,7 +487,7 @@ font-technology Variable VariabelCollect in New Layer In neuer Ebene sammelnCollect Links in a Separate Folder Verknüpfungen in separatem Ordner sammelnColor Farbe- Color (,) Farbe (,)+ Color (, or <) Farbe (, oder <)Color Adjustments FarbkorrekturenColor bars FarbkontrollstreifenColor blindness – Deuteranopia-type Farbenblindheit – Deuteranopie@@ -1260,7 +1260,7 @@ file-filter Templates VorlagenGPL palettes keep solid colours only, as RGB. GPL-Paletten enthalten nur einfarbige Farben, als RGB.GPU Performance GPU-LeistungGradient Verlauf- Gradient (.) Verlauf (.)+ Gradient (. or >) Verlauf (. oder >)Gradient across stroke Verlauf quer zur KonturGradient along stroke Verlauf entlang der KonturGradient and Mesh Resolution: Auflösung für Verläufe und Gitter:diff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsvindex f500d2dc1..44f39da93 100644--- a/crates/ui-egui/src/i18n/el.tsv+++ b/crates/ui-egui/src/i18n/el.tsv@@ -470,7 +470,7 @@ font-technology Variable ΜεταβλητέςCollect in New Layer Συγκέντρωση σε νέο επίπεδοCollect Links in a Separate Folder Συγκέντρωση συνδεδεμένων αρχείων σε ξεχωριστό φάκελοColor Χρώμα- Color (,) Χρώμα (,)+ Color (, or <) Χρώμα (, ή <)Color Adjustments Ρυθμίσεις χρώματοςColor bars Χρωματικές μπάρεςColor blindness – Deuteranopia-type Αχρωματοψία – τύπου δευτερανοπίας@@ -1200,7 +1200,7 @@ font-technology Variable ΜεταβλητέςGPL palettes keep solid colours only, as RGB. Οι παλέτες GPL διατηρούν μόνο συμπαγή χρώματα σε RGB.GPU Performance Απόδοση GPUGradient Ντεγκραντέ- Gradient (.) Ντεγκραντέ (.)+ Gradient (. or >) Ντεγκραντέ (. ή >)Gradient across stroke Ντεγκραντέ εγκάρσια στο περίγραμμαGradient along stroke Ντεγκραντέ κατά μήκος του περιγράμματοςGradient and Mesh Resolution: Ανάλυση ντεγκραντέ και πλέγματος:diff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsvindex 8b7707d49..fe9ebd086 100644--- a/crates/ui-egui/src/i18n/es.tsv+++ b/crates/ui-egui/src/i18n/es.tsv@@ -509,7 +509,7 @@ font-technology Variable VariablesCollect in New Layer Reunir en capa nuevaCollect Links in a Separate Folder Reunir vínculos en una carpeta aparteColor Color- Color (,) Color (,)+ Color (, or <) Color (, o <)Color Adjustments Ajustes de colorColor bars Barras de colorColor blindness – Deuteranopia-type Daltonismo – tipo deuteranopía@@ -1273,7 +1273,7 @@ font-technology Variable VariablesGPL palettes keep solid colours only, as RGB. Las paletas GPL solo conservan colores sólidos, en RGB.GPU Performance Rendimiento de GPUGradient Degradado- Gradient (.) Degradado (.)+ Gradient (. or >) Degradado (. o >)Gradient across stroke Degradado a lo ancho del trazoGradient along stroke Degradado a lo largo del trazoGradient and Mesh Resolution: Resolución de degradados y mallas:diff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsvindex 169977ede..539684863 100644--- a/crates/ui-egui/src/i18n/fi.tsv+++ b/crates/ui-egui/src/i18n/fi.tsv@@ -1187,12 +1187,12 @@ lighting Light Valoto set spacing and orientation asettaaksesi välit ja suunnanApply KäytäChange Screen Mode (F) Vaihda näyttötilaa (F)- Color (,) Väri (,)+ Color (, or <) Väri (, tai <)Draw Behind Piirrä taakseDraw Inside Piirrä sisäänDraw Normal Piirrä normaalistiExpand: Laajenna:- Gradient (.) Liukuväri (.)+ Gradient (. or >) Liukuväri (. tai >)H: K:Modify MuokkaaNavigate Siirrydiff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsvindex d253e590a..f64f7abef 100644--- a/crates/ui-egui/src/i18n/fr.tsv+++ b/crates/ui-egui/src/i18n/fr.tsv@@ -510,7 +510,7 @@ font-technology Variable VariablesCollect in New Layer Rassembler dans un nouveau calqueCollect Links in a Separate Folder Rassembler les liens dans un dossier distinctColor Couleur- Color (,) Couleur (,)+ Color (, or <) Couleur (, ou <)Color Adjustments Réglages de couleurColor bars Barres de couleursColor blindness – Deuteranopia-type Daltonisme – type deutéranopie@@ -1272,7 +1272,7 @@ font-technology Variable VariablesGPL palettes keep solid colours only, as RGB. Les palettes GPL ne conservent que les couleurs unies, en RVB.GPU Performance Performances GPUGradient Dégradé- Gradient (.) Dégradé (.)+ Gradient (. or >) Dégradé (. ou >)Gradient across stroke Dégradé sur la largeur du contourGradient along stroke Dégradé le long du contourGradient and Mesh Resolution: Résolution des dégradés et des filets :diff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsvindex aaa956be0..a7e6389df 100644--- a/crates/ui-egui/src/i18n/hu.tsv+++ b/crates/ui-egui/src/i18n/hu.tsv@@ -679,7 +679,7 @@ font-technology Variable VáltozóCollect in New Layer Összegyűjtés új rétegbeCollect Links in a Separate Folder Csatolások gyűjtése külön mappábaColor Szín- Color (,) Szín (,)+ Color (, or <) Szín (, vagy <)Color Adjustments SzínkorrekciókColor bars SzínsávokColor blindness – Deuteranopia-type Színvakság – deuteranópia@@ -1591,7 +1591,7 @@ file-filter Templates SablonokGPU Performance GPU-teljesítményGrab bag VegyesGradient Színátmenet- Gradient (.) Színátmenet (.)+ Gradient (. or >) Színátmenet (. vagy >)Gradient across stroke Színátmenet a körvonalon keresztbenGradient along stroke Színátmenet a körvonal menténGradient and Mesh Resolution: Színátmenet és háló felbontása:diff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsvindex 32ae389d0..6fe0b49e5 100644--- a/crates/ui-egui/src/i18n/id.tsv+++ b/crates/ui-egui/src/i18n/id.tsv@@ -1127,12 +1127,12 @@ lighting Light Cahayato set spacing and orientation untuk mengatur jarak dan orientasiApply TerapkanChange Screen Mode (F) Ganti mode layar (F)- Color (,) Warna (,)+ Color (, or <) Warna (, atau <)Draw Behind Gambar di belakangDraw Inside Gambar di dalamDraw Normal Gambar normalExpand: Perluas:- Gradient (.) Gradien (.)+ Gradient (. or >) Gradien (. atau >)H: H:Modify UbahNavigate Navigasidiff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsvindex 8c07d75d5..b5bdc12fc 100644--- a/crates/ui-egui/src/i18n/it.tsv+++ b/crates/ui-egui/src/i18n/it.tsv@@ -509,7 +509,7 @@ font-technology Variable VariabiliCollect in New Layer Raccogli in un nuovo livelloCollect Links in a Separate Folder Raccogli i collegamenti in una cartella separataColor Colore- Color (,) Colore (,)+ Color (, or <) Colore (, o <)Color Adjustments Regolazioni coloreColor bars Barre coloreColor blindness – Deuteranopia-type Daltonismo – tipo deuteranopia@@ -1283,7 +1283,7 @@ file-filter Templates ModelliGPL palettes keep solid colours only, as RGB. Le palette GPL conservano solo i colori pieni, in RGB.GPU Performance Prestazioni GPUGradient Sfumatura- Gradient (.) Sfumatura (.)+ Gradient (. or >) Sfumatura (. o >)Gradient across stroke Sfumatura trasversale alla tracciaGradient along stroke Sfumatura lungo la tracciaGradient and Mesh Resolution: Risoluzione sfumature e trame:diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsvindex 97d99c32e..cad45456f 100644--- a/crates/ui-egui/src/i18n/ja.tsv+++ b/crates/ui-egui/src/i18n/ja.tsv@@ -3368,7 +3368,7 @@ gradient-kind Radial 円形Client-side (.html) クライアントサイド (.html)Cmd CmdCollect Links in a Separate Folder リンクを別フォルダーに収集- Color (,) カラー (,)+ Color (, or <) カラー (, または <)Color Group カラーグループColor Library カラーライブラリColor Management カラーマネジメント@@ -3463,7 +3463,7 @@ file-filter Templates テンプレートGeneral › Placement › X 一般 › 位置 › XGeneral › Thumbnails 一般 › サムネールGlobal Process Color, CMYK グローバルプロセスカラー、CMYK- Gradient (.) グラデーション (.)+ Gradient (. or >) グラデーション (. または >)Graph Data グラフデータGraph Type グラフの種類Graph Design グラフのデザインdiff --git a/crates/ui-egui/src/i18n/ka.tsv b/crates/ui-egui/src/i18n/ka.tsvindex df3777f4f..df8d4aab9 100644--- a/crates/ui-egui/src/i18n/ka.tsv+++ b/crates/ui-egui/src/i18n/ka.tsv@@ -1061,12 +1061,12 @@ lighting Light სინათლეto set spacing and orientation — ინტერვალისა და ორიენტაციის დასაყენებლადApply გამოყენებაChange Screen Mode (F) ეკრანის რეჟიმის შეცვლა (F)- Color (,) ფერი (,)+ Color (, or <) ფერი (, ან <)Draw Behind უკან ხატვაDraw Inside შიგნით ხატვაDraw Normal ჩვეულებრივი ხატვაExpand: გაშლა:- Gradient (.) გრადიენტი (.)+ Gradient (. or >) გრადიენტი (. ან >)H: სიმ.:Modify შეცვლაNavigate ნავიგაციაdiff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsvindex a96057355..da7955718 100644--- a/crates/ui-egui/src/i18n/ko.tsv+++ b/crates/ui-egui/src/i18n/ko.tsv@@ -3354,7 +3354,7 @@ gradient-kind Radial 방사형Client-side (.html) 클라이언트 측 (.html)Cmd CmdCollect Links in a Separate Folder 링크를 별도 폴더에 모으기- Color (,) 색상 (,)+ Color (, or <) 색상 (, 또는 <)Color Group 색상 그룹Color Library 색상 라이브러리Color Management 색상 관리@@ -3449,7 +3449,7 @@ file-filter Templates 템플릿General › Placement › X 일반 › 배치 › XGeneral › Thumbnails 일반 › 축소판Global Process Color, CMYK 글로벌 프로세스 색상, CMYK- Gradient (.) 그레이디언트 (.)+ Gradient (. or >) 그레이디언트 (. 또는 >)Graph Data 그래프 데이터Graph Type 그래프 유형Graph Design 그래프 디자인diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsvindex 7c5f8c1bf..74227eb9f 100644--- a/crates/ui-egui/src/i18n/nl.tsv+++ b/crates/ui-egui/src/i18n/nl.tsv@@ -1141,12 +1141,12 @@ lighting Light Lichtto set spacing and orientation om de tussenruimte en de oriëntatie in te stellenApply ToepassenChange Screen Mode (F) Schermmodus wisselen (F)- Color (,) Kleur (,)+ Color (, or <) Kleur (, of <)Draw Behind Achter tekenenDraw Inside Binnen tekenenDraw Normal Normaal tekenenExpand: Uitvouwen:- Gradient (.) Verloop (.)+ Gradient (. or >) Verloop (. of >)H: H:Modify WijzigenNavigate Navigerendiff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsvindex 01bcb83fb..2d9e8fb16 100644--- a/crates/ui-egui/src/i18n/pl.tsv+++ b/crates/ui-egui/src/i18n/pl.tsv@@ -1140,12 +1140,12 @@ lighting Light Światłoto set spacing and orientation aby ustawić odstęp i orientacjęApply ZastosujChange Screen Mode (F) Zmień tryb ekranu (F)- Color (,) Kolor (,)+ Color (, or <) Kolor (, lub <)Draw Behind Rysuj pod spodemDraw Inside Rysuj wewnątrzDraw Normal Rysuj normalnieExpand: Rozszerz:- Gradient (.) Gradient (.)+ Gradient (. or >) Gradient (. lub >)H: W:Modify ModyfikujNavigate Nawigacjadiff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsvindex 790926432..9d7e9044f 100644--- a/crates/ui-egui/src/i18n/pt-br.tsv+++ b/crates/ui-egui/src/i18n/pt-br.tsv@@ -4329,7 +4329,7 @@ axis Both AmbosClient-side (.html) Lado do Cliente (.html)Cmd CmdCollect Links in a Separate Folder Reunir Links em uma Pasta Separada- Color (,) Cor (,)+ Color (, or <) Cor (, ou <)Color bars Barras de coresColor Group Grupo de CoresColor Library Biblioteca de Cores@@ -4402,7 +4402,7 @@ axis Both AmbosGeneral › Placement › X Geral › Posicionamento › XGeneral › Thumbnails Geral › MiniaturasGlobal Process Color, CMYK Cor de Processo Global, CMYK- Gradient (.) Gradiente (.)+ Gradient (. or >) Gradiente (. ou >)Graph Data Dados do GráficoGraph Type Tipo de GráficoNew Design Novo Designdiff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsvindex 0fb52e688..2d33e81ff 100644--- a/crates/ui-egui/src/i18n/ru.tsv+++ b/crates/ui-egui/src/i18n/ru.tsv@@ -507,7 +507,7 @@ font-technology Variable ВариативныеCollect in New Layer Собрать в новый слойCollect Links in a Separate Folder Собрать связи в отдельную папкуColor Цвет- Color (,) Цвет (,)+ Color (, or <) Цвет (, или <)Color Adjustments Настройки цветаColor bars Цветные полосыColor blindness – Deuteranopia-type Дальтонизм — дейтеранопия@@ -1281,7 +1281,7 @@ file-filter Templates ШаблоныGPL palettes keep solid colours only, as RGB. Палитры GPL сохраняют только сплошные цвета в RGB.GPU Performance Производительность GPUGradient Градиент- Gradient (.) Градиент (.)+ Gradient (. or >) Градиент (. или >)Gradient across stroke Градиент поперёк обводкиGradient along stroke Градиент вдоль обводкиGradient and Mesh Resolution: Разрешение градиентов и сеток:diff --git a/crates/ui-egui/src/i18n/sv.tsv b/crates/ui-egui/src/i18n/sv.tsvindex 07c4a9228..352f85657 100644--- a/crates/ui-egui/src/i18n/sv.tsv+++ b/crates/ui-egui/src/i18n/sv.tsv@@ -497,7 +497,7 @@ font-technology Variable VariablaCollect in New Layer Samla i nytt lagerCollect Links in a Separate Folder Samla länkar i en separat mappColor Färg- Color (,) Färg (,)+ Color (, or <) Färg (, eller <)Color Adjustments FärgjusteringarColor bars FärgstaplarColor blindness – Deuteranopia-type Färgblindhet – deuteranopi@@ -1238,7 +1238,7 @@ font-technology Variable VariablaGPL palettes keep solid colours only, as RGB. GPL-paletter sparar bara enfärgade färger, som RGB.GPU Performance GPU-prestandaGradient Gradient- Gradient (.) Gradient (.)+ Gradient (. or >) Gradient (. eller >)Gradient across stroke Gradient tvärs över konturenGradient along stroke Gradient längs konturenGradient and Mesh Resolution: Upplösning för gradienter och nät:diff --git a/crates/ui-egui/src/i18n/tr.tsv b/crates/ui-egui/src/i18n/tr.tsvindex 8dbdfe254..b1c4efa1b 100644--- a/crates/ui-egui/src/i18n/tr.tsv+++ b/crates/ui-egui/src/i18n/tr.tsv@@ -491,7 +491,7 @@ font-technology Variable DeğişkenCollect in New Layer Yeni Katmanda ToplaCollect Links in a Separate Folder Bağlantıları Ayrı Bir Klasörde ToplayınColor Renk- Color (,) Renk (,)+ Color (, or <) Renk (, veya <)Color Adjustments Renk AyarlamalarıColor bars Renk çubuklarıColor blindness – Deuteranopia-type Renk körlüğü – Döteranopi tipi@@ -1215,7 +1215,7 @@ font-technology Variable DeğişkenGPL palettes keep solid colours only, as RGB. GPL paletleri yalnızca düz renkleri RGB olarak tutar.GPU Performance GPU PerformansıGradient Degrade- Gradient (.) Gradyan (.)+ Gradient (. or >) Gradyan (. veya >)Gradient across stroke Kontur boyunca gradyanGradient along stroke Kontur boyunca gradyanGradient and Mesh Resolution: Gradyan ve Mesh Çözünürlüğü:diff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsvindex 26ad9906a..f86072ee5 100644--- a/crates/ui-egui/src/i18n/uk.tsv+++ b/crates/ui-egui/src/i18n/uk.tsv@@ -503,7 +503,7 @@ font-technology Variable ВаріативніCollect in New Layer Зібрати у новий шарCollect Links in a Separate Folder Зібрати зв’язки в окрему папкуColor Колір- Color (,) Колір (,)+ Color (, or <) Колір (, або <)Color Adjustments Налаштування кольоруColor bars Кольорові смугиColor blindness – Deuteranopia-type Дальтонізм - дейтеранопія@@ -1277,7 +1277,7 @@ file-filter Templates ШаблониGPL palettes keep solid colours only, as RGB. Палітри GPL зберігають лише суцільні кольори RGB.GPU Performance Продуктивність GPUGradient Градієнт- Gradient (.) Градієнт (.)+ Gradient (. or >) Градієнт (. або >)Gradient across stroke Градієнт упоперек обведенняGradient along stroke Градієнт вздовж обведенняGradient and Mesh Resolution: Роздільна здатність градієнтів і сіток:diff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsvindex f58aed92b..3a8769395 100644--- a/crates/ui-egui/src/i18n/vi.tsv+++ b/crates/ui-egui/src/i18n/vi.tsv@@ -591,7 +591,7 @@ font-technology Variable Biến thiênCollect in New Layer Thu thập vào lớp mớiCollect Links in a Separate Folder Thu thập liên kết vào thư mục riêngColor Màu- Color (,) Màu (,)+ Color (, or <) Màu (, hoặc <)Color Adjustments Điều chỉnh màu sắcColor bars Thanh màuColor blindness – Deuteranopia-type Mù màu – loại Deuteranopia@@ -1491,7 +1491,7 @@ file-filter Templates MẫuGPU Performance Hiệu suất GPUGrab bag Tổng hợpGradient Chuyển sắc- Gradient (.) Chuyển sắc (.)+ Gradient (. or >) Chuyển sắc (. hoặc >)Gradient across stroke Chuyển sắc ngang qua nétGradient along stroke Chuyển sắc dọc theo nétGradient and Mesh Resolution: Độ phân giải chuyển sắc và lưới:diff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsvindex 00cd38e03..000c898eb 100644--- a/crates/ui-egui/src/i18n/zh-hans.tsv+++ b/crates/ui-egui/src/i18n/zh-hans.tsv@@ -455,7 +455,7 @@Collect in New Layer 收集到新图层Collect Links in a Separate Folder 将链接收集到单独的文件夹Color 颜色- Color (,) 颜色 (,)+ Color (, or <) 颜色 (, 或 <)Color Adjustments 色彩调整Color bars 色彩条Color blindness – Deuteranopia-type 色盲 – 绿色盲型@@ -1221,7 +1221,7 @@ file-filter Templates 模板GPL palettes keep solid colours only, as RGB. GPL 调板仅保留为 RGB 的纯色。GPU Performance GPU 性能Gradient 渐变- Gradient (.) 渐变 (.)+ Gradient (. or >) 渐变 (. 或 >)Gradient across stroke 横跨描边的渐变Gradient along stroke 沿描边的渐变Gradient and Mesh Resolution: 渐变和网格分辨率:diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsvindex 67383344b..e7650af81 100644--- a/crates/ui-egui/src/i18n/zh-hant.tsv+++ b/crates/ui-egui/src/i18n/zh-hant.tsv@@ -471,7 +471,7 @@ font-technology Variable 可變Collect in New Layer 收集至新圖層Collect Links in a Separate Folder 將連結收集到獨立的資料夾Color 顏色- Color (,) 顏色 (,)+ Color (, or <) 顏色 (, 或 <)Color Adjustments 色彩調整Color bars 色彩條Color blindness – Deuteranopia-type 色盲 – 綠色盲型@@ -1247,7 +1247,7 @@ file-filter Templates 範本GPL palettes keep solid colours only, as RGB. GPL 調色盤僅保留純色,並以 RGB 儲存。GPU Performance GPU 效能Gradient 漸層- Gradient (.) 漸層 (.)+ Gradient (. or >) 漸層 (. 或 >)Gradient across stroke 橫跨筆畫的漸層Gradient along stroke 沿筆畫的漸層Gradient and Mesh Resolution: 漸層與網格解析度:diff --git a/crates/ui-egui/src/keymap.rs b/crates/ui-egui/src/keymap.rsindex 03d08be1d..2cccc6c72 100644--- a/crates/ui-egui/src/keymap.rs+++ b/crates/ui-egui/src/keymap.rs@@ -146,14 +146,28 @@ fn catalogue() -> Vec<Bindable> {if TOGGLES.contains(&e.key.as_str()) {b = b.toggle();}- match shortcut_editor::default_of(&e.key).and_then(vc_binding) {- Some(d) => b.with_default(d),- None => b,+ if let Some(d) = shortcut_editor::default_of(&e.key).and_then(vc_binding) {+ b = b.with_default(d);}+ for alias in default_aliases(&e.key) {+ if let Some(d) = vc_binding(alias) {+ b = b.with_default(d);+ }+ }+ b}).collect()}+/// Additional defaults for commands whose primary shortcut remains in their command spec.+fn default_aliases(key: &str) -> &'static [&'static str] {+ match key {+ "paint.lastColor" => &["Shift+,"],+ "paint.lastGradient" => &["Shift+."],+ _ => &[],+ }+}+/// On the web, the browser's operating system once egui reports it ([`note_os`]).static WEB_PLATFORM: RwLock<Option<Platform>> = RwLock::new(None);@@ -398,11 +412,35 @@ mod tests {let unbound: Vec<(&str, &str)> = shortcut_editor::entries().iter().filter_map(|e| shortcut_editor::default_of(&e.key).map(|d| (e.key.as_str(), d)))- .filter(|(key, d)| vc_binding(d).map(|b| vec![b]) != Some(template().default_bindings(&command_of(key))))+ .filter(|(key, d)| {+ let mut expected: Vec<Binding> = vc_binding(d).into_iter().collect();+ expected.extend(default_aliases(key).iter().filter_map(|alias| vc_binding(alias)));+ expected != template().default_bindings(&command_of(key))+ }).collect();assert_eq!(unbound, vec![], "every default text becomes the entry's binding");}+ #[test]+ fn paint_defaults_have_two_bindings_and_reset_restores_both() {+ for (key, plain, shifted) in [("paint.lastColor", ",", "Shift+,"), ("paint.lastGradient", ".", "Shift+.")] {+ let command = command_of(key);+ let defaults = template().default_bindings(&command);+ assert_eq!(defaults, vec![vc_binding(plain).unwrap(), vc_binding(shifted).unwrap()], "{key}");+ assert_eq!(+ shortcut_editor::entry(key).map(|e| e.label.as_str()),+ Some(if key == "paint.lastColor" { "Apply Last Color" } else { "Apply Last Gradient" })+ );+ assert_eq!(effective_with(template(), key).as_deref(), Some(plain));+ let mut overrides = Overrides::new();+ set_override(&mut overrides, key, "Shift+;");+ assert_eq!(keymap_with(&overrides).bindings(&command), vec![vc_binding("Shift+;").unwrap()]);+ shortcut_editor::reset_one(&mut overrides, key);+ assert_eq!(keymap_with(&overrides).bindings(&command), defaults);+ }+ assert!(template().conflicts().is_empty());+ }+/// The chords the operating system takes are refused, and no default uses one.#[test]fn system_shortcuts_are_refused() {diff --git a/crates/ui-egui/src/shortcut_editor.rs b/crates/ui-egui/src/shortcut_editor.rsindex 695ace916..4d6164f11 100644--- a/crates/ui-egui/src/shortcut_editor.rs+++ b/crates/ui-egui/src/shortcut_editor.rs@@ -506,6 +506,17 @@ pub fn reset_one(overrides: &mut Overrides, key: &str) {overrides.remove(&crate::keymap::stored_key(key));}+/// Text shown for all active chords in a dialog row.+fn dialog_shortcuts_with(km: &Keymap, key: &str) -> Option<String> {+ let bindings = km.bindings(&command_of(key));+ if bindings.len() > 1 {+ let primary = effective_with(km, key).map(|s| menus::pretty_shortcut(&s))?;+ let additional = bindings.iter().skip(1).map(|b| menus::pretty_shortcut(&crate::keymap::binding_text(b)));+ return Some(std::iter::once(primary).chain(additional).collect::<Vec<_>>().join(" · "));+ }+ effective_with(km, key).map(|s| menus::pretty_shortcut(&s))+}+/// Overrides of a preset (both presets are the registry defaults for now).pub fn preset(name: &str) -> Option<Overrides> {PRESETS.contains(&set_name(name)).then(Overrides::new)@@ -695,7 +706,7 @@ struct DialogView {impl DialogView {fn new(overrides: Overrides) -> DialogView {let keymap = keymap_with(&overrides);- let texts = entries().iter().map(|e| effective_with(&keymap, &e.key)).collect();+ let texts = entries().iter().map(|e| dialog_shortcuts_with(&keymap, &e.key)).collect();let conflicts = conflicts_in(&keymap).len();DialogView { source: stored::to_value(keymap.overrides()), keymap, texts, conflicts }}@@ -812,7 +823,7 @@ pub fn show(app: &mut VectorcraftApp, ctx: &egui::Context) {for (i, e) in entries().iter().enumerate().filter(|(_, e)| e.is_tool == tools && listed(km.overrides(), e)) {let sc = match &km {Cow::Borrowed(_) => view.texts.get(i).cloned().flatten(),- Cow::Owned(km) => effective_with(km, &e.key),+ Cow::Owned(km) => dialog_shortcuts_with(km, &e.key),};let matches = e.label.to_lowercase().contains(&q)|| tl!(&e.label).to_lowercase().contains(&q)@@ -837,11 +848,7 @@ pub fn show(app: &mut VectorcraftApp, ctx: &egui::Context) {if r.clicked() {d.fields.insert("__selected".into(), json!(e.key));}- let label = if rec == e.key {- tl!("Press keys…").to_string()- } else {- sc.as_deref().map(menus::pretty_shortcut).unwrap_or_else(|| "—".into())- };+ let label = if rec == e.key { tl!("Press keys…").to_string() } else { sc.unwrap_or_else(|| "—".into()) };let changed = crate::keymap::has_override(km.overrides(), &e.key);let txt = egui::RichText::new(label).color(if changed { t.accent } else { t.text });let b = ui@@ -1224,6 +1231,18 @@ mod tests {assert!(preset("Nope").is_none());}+ #[test]+ fn paint_dialog_rows_show_both_default_keys() {+ let view = DialogView::new(Overrides::new());+ for (key, plain, shifted) in [("paint.lastColor", ",", "Shift+Comma"), ("paint.lastGradient", ".", "Shift+Period")] {+ let at = entries().iter().position(|e| e.key == key).unwrap();+ let shown = view.texts[at].as_deref().unwrap();+ let shifted = menus::pretty_shortcut(shifted);+ assert!(shown.contains(plain) && shown.contains(&shifted), "{key}: {shown}");+ }+ assert_eq!(view.conflicts, 0);+ }+#[test]fn entries_cover_tools_and_menu_commands() {assert!(entries().iter().any(|e| e.key == "tool:selection"));diff --git a/crates/ui-egui/src/shortcuts.rs b/crates/ui-egui/src/shortcuts.rsindex 00249145d..a076f829c 100644--- a/crates/ui-egui/src/shortcuts.rs+++ b/crates/ui-egui/src/shortcuts.rs@@ -323,9 +323,13 @@ pub fn handle(app: &mut VectorcraftApp, ctx: &egui::Context) {if claimed_tool_keys(app, ctx, view) {return;}- // Command, panel and tool shortcuts. Keys that type a character without Cmd/Alt/Ctrl are- // handled below as text (tool shortcuts, X, D, /, `,` and `.`).- let hits = dispatch(app, ctx, |hit| !(hit.trigger.chord.is_plain() && types_text(hit.trigger.chord.key)));+ // Command, panel and tool shortcuts. A bound shifted punctuation chord uses its key press;+ // other text keys use the typed character below.+ let hits = dispatch(app, ctx, |hit| {+ let chord = hit.trigger.chord;+ let shifted_punctuation = chord.mods.shift && chord.key.name().chars().all(|c| !c.is_alphanumeric());+ !(chord.is_plain() && types_text(chord.key) && !shifted_punctuation)+ });let ran = !hits.is_empty();for c in hits {run_hit(app, ctx, &c);diff --git a/crates/ui-egui/src/shortcuts/tests.rs b/crates/ui-egui/src/shortcuts/tests.rsindex b47a321bc..84d5b5ac7 100644--- a/crates/ui-egui/src/shortcuts/tests.rs+++ b/crates/ui-egui/src/shortcuts/tests.rs@@ -1120,18 +1120,108 @@ fn brackets_size_the_blob_brush_and_the_eraser() {assert_eq!(app.session.paint.stroke_width, 3.0);}-#[test]-fn comma_and_period_reapply_the_last_colour_and_gradient() {+fn remembered_paint_app() -> VectorcraftApp {let mut app = VectorcraftApp::new(vectorcraft_engine::Session::new(), Default::default());app.session.execute("file.new", &json!({"width": 200, "height": 200})).unwrap();app.session.execute("shape.rectangle", &json!({"x": 0, "y": 0, "width": 10, "height": 10})).unwrap();app.session.execute("paint.setFill", &json!({"gradient": {"kind": "linear"}})).unwrap();app.session.execute("paint.setFill", &json!({"color": "#336699"})).unwrap();- let fill = |app: &VectorcraftApp| crate::panels::current_paints(app).0;- frame(&mut app, vec![egui::Event::Text(".".into())]);- assert!(matches!(fill(&app), vectorcraft_color::Paint::Gradient(_)), "`.` applies the last gradient");- frame(&mut app, vec![egui::Event::Text(",".into())]);- assert_eq!(fill(&app).color().unwrap().to_hex(), "#336699", "`,` applies the last colour");+ app+}++#[test]+fn plain_and_shifted_paint_keys_run_once_on_us_and_german_like_input() {+ let mut app = remembered_paint_app();+ let paint = |app: &VectorcraftApp| crate::panels::current_paints(app).0;+ let press = |key, modifiers, typed: &str| {+ vec![+ egui::Event::ModifiersChanged(modifiers),+ egui::Event::Key { key, physical_key: Some(key), pressed: true, repeat: false, modifiers },+ egui::Event::Text(typed.into()),+ ]+ };+ for (key, modifiers, typed) in [(Key::Period, Modifiers::NONE, "."), (Key::Period, Modifiers::SHIFT, ">"), (Key::Period, Modifiers::SHIFT, ":")] {+ let before = app.session.active().unwrap().history.undo.len();+ frame(&mut app, press(key, modifiers, typed));+ assert!(matches!(paint(&app), vectorcraft_color::Paint::Gradient(_)), "{typed} applies gradient");+ assert_eq!(app.session.active().unwrap().history.undo.len(), before + 1, "{typed} runs once");+ app.session.execute("paint.setFill", &json!({"color": "#336699"})).unwrap();+ }+ for (key, modifiers, typed) in [(Key::Comma, Modifiers::NONE, ","), (Key::Comma, Modifiers::SHIFT, "<"), (Key::Comma, Modifiers::SHIFT, ";")] {+ app.session.execute("paint.setFill", &json!({"gradient": {"kind": "linear"}})).unwrap();+ let before = app.session.active().unwrap().history.undo.len();+ frame(&mut app, press(key, modifiers, typed));+ assert_eq!(paint(&app).color().map(|c| c.to_hex()), Some("#336699".into()), "{typed} applies color");+ assert_eq!(app.session.active().unwrap().history.undo.len(), before + 1, "{typed} runs once");+ }+ let before = app.session.active().unwrap().history.undo.len();+ for typed in [">", "<"] {+ frame(&mut app, press(Key::Backslash, Modifiers::NONE, typed));+ }+ assert_eq!(app.session.active().unwrap().history.undo.len(), before, "another key typing a bracket runs no paint command");++ let id = app.session.execute("text.create", &json!({"x": 20, "y": 50, "text": "Hi"})).unwrap()["id"].as_u64().unwrap();+ app.select_tool("type");+ app.session.apply_actions(vec![vectorcraft_tools::Action::Notify("text.editNew".into())]).unwrap();+ app.session.set_tool_option("select", &json!({"start": 2, "end": 2}));+ assert!(app.session.tool_wants_text());+ let before = app.session.active().unwrap().history.undo.len();+ for (key, mods, typed) in [+ (Key::Comma, Modifiers::NONE, ","),+ (Key::Period, Modifiers::NONE, "."),+ (Key::Comma, Modifiers::SHIFT, "<"),+ (Key::Period, Modifiers::SHIFT, ">"),+ ] {+ frame(&mut app, press(key, mods, typed));+ }+ assert_eq!(text_and_layers(&mut app, id).0, "Hi,.<>");+ assert!(app.session.active().unwrap().history.undo.len() <= before + 4, "typing runs no paint commands");+ assert!(matches!(crate::panels::current_paints(&app).0, vectorcraft_color::Paint::Solid { .. }));+}++#[test]+fn user_shifted_punctuation_binding_runs_once() {+ let mut app = remembered_paint_app();+ crate::keymap::set_override(&mut app.ui.shortcut_overrides, "paint.lastGradient", "Shift+;");+ let undo_before = app.session.active().unwrap().history.undo.len();+ let shifted = Modifiers::SHIFT;+ frame(+ &mut app,+ vec![+ egui::Event::ModifiersChanged(shifted),+ egui::Event::Key { key: Key::Semicolon, physical_key: Some(Key::Semicolon), pressed: true, repeat: false, modifiers: shifted },+ egui::Event::Text(":".into()),+ ],+ );+ assert!(matches!(crate::panels::current_paints(&app).0, vectorcraft_color::Paint::Gradient(_)));+ assert_eq!(app.session.active().unwrap().history.undo.len(), undo_before + 1);+}++#[test]+fn saved_plain_paint_override_runs_its_new_command() {+ let mut app = remembered_paint_app();+ let saved = serde_json::json!({"paint.lastGradient": ",", "paint.lastColor": "."});+ app.ui.shortcut_overrides = crate::keymap::stored::from_value(saved);+ let press = |key, typed: &str| {+ vec![+ egui::Event::Key { key, physical_key: Some(key), pressed: true, repeat: false, modifiers: Modifiers::NONE },+ egui::Event::Text(typed.into()),+ ]+ };+ frame(&mut app, press(Key::Comma, ","));+ assert!(matches!(crate::panels::current_paints(&app).0, vectorcraft_color::Paint::Gradient(_)));+ frame(&mut app, press(Key::Period, "."));+ assert_eq!(crate::panels::current_paints(&app).0.color().map(|c| c.to_hex()), Some("#336699".into()));+ crate::shortcut_editor::reset_one(&mut app.ui.shortcut_overrides, "paint.lastGradient");+ frame(+ &mut app,+ vec![+ egui::Event::ModifiersChanged(Modifiers::SHIFT),+ egui::Event::Key { key: Key::Period, physical_key: Some(Key::Period), pressed: true, repeat: false, modifiers: Modifiers::SHIFT },+ egui::Event::Text(">".into()),+ ],+ );+ assert!(matches!(crate::panels::current_paints(&app).0, vectorcraft_color::Paint::Gradient(_)), "reset restores the extra default");}#[test]diff --git a/crates/ui-egui/src/toolbar.rs b/crates/ui-egui/src/toolbar.rsindex d58102761..02efbfd4c 100644--- a/crates/ui-egui/src/toolbar.rs+++ b/crates/ui-egui/src/toolbar.rs@@ -486,7 +486,7 @@ fn bottom_controls(app: &mut VectorcraftApp, ui: &mut Ui, t: &Tokens, cols: usizui.add_space((ui.available_width() - 3.0 * chip - 2.0 * gap) / 2.0);ui.spacing_mut().item_spacing.x = gap;let mut clicked = None;- for (tip, cmd) in [("Color (,)", "paint.lastColor"), ("Gradient (.)", "paint.lastGradient"), ("None (/)", "paint.none")] {+ for (tip, cmd) in [("Color (, or <)", "paint.lastColor"), ("Gradient (. or >)", "paint.lastGradient"), ("None (/)", "paint.none")] {let (r, resp) = ui.allocate_exact_size(vec2(chip, chip), Sense::click());match cmd {"paint.lastColor" => widgets::paint_chip(ui, r, &Paint::solid(app.session.last_solid)),diff --git a/crates/ui-egui/src/toolbar/tests.rs b/crates/ui-egui/src/toolbar/tests.rsindex 6c1c1b321..e8e3f4977 100644--- a/crates/ui-egui/src/toolbar/tests.rs+++ b/crates/ui-egui/src/toolbar/tests.rs@@ -109,7 +109,7 @@ fn screen_readers_name_the_tool_buttons_and_the_active_tool() {let name = |id| tool_info(id).map(tip).unwrap_or_default();assert_eq!(role_and_state(&tree, &name("pen")), (Role::Button, Some(Toggled::True)));assert_eq!(role_and_state(&tree, &name("selection")), (Role::Button, Some(Toggled::False)));- for label in ["Toggle single/double column", "Drag to float the toolbar", "Color (,)", "Gradient (.)", "None (/)"] {+ for label in ["Toggle single/double column", "Drag to float the toolbar", "Color (, or <)", "Gradient (. or >)", "None (/)"] {assert_eq!(role_and_state(&tree, label), (Role::Button, None), "{label}");}}diff --git a/docs/target-app-parity.md b/docs/target-app-parity.mdindex 77cecd5a7..07e627e23 100644--- a/docs/target-app-parity.md+++ b/docs/target-app-parity.md@@ -911,6 +911,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur- **Missing library files:** a persistent swatch or graphic style library panel whose file is gone at startup reopens and stays in the preferences, showing the file's path with Locate Library… (`ui.libraryPanel.locate`), which reads the file from where it is now into the same panel.- **Swatch library and Recolor Artwork parameters:** the `swatch.library.*` commands, `swatch.resetDefaults`, the graphic style library save, load and add, the `recolor.*` commands and `color.harmony`'s `limitTo` refuse parameters of the wrong form, such as `names: "Grays"`, `limitTo: 5` or `includeImages: "false"`. Errors name the parameter, except that a `limitTo` that is not a string, such as `5`, gets an unknown-library error. A `null` counts as left out except for `recolor.apply`'s `model`, which must be a string when given.- **Colour:** a Color Picker (colour field, H/S/B/R/G/B channel slider, HSB/RGB/Lab/CMYK fields, hex, web-only snapping, out-of-gamut correction); the Color panel shows a selected colour in its own model and, with nothing selected, the new-art defaults in the mode picked last, which it keeps between sessions; Alt-click paints the other proxy; proxies look through groups and show "?" for mixed paint; Invert, Complement, Apply Last Color (`,`) and Apply Last Gradient (`.`) keep the colour model; every paint command feeds the recent colours. The Color Guide has 21 harmony rules, Steps and Variation options and Limit to Library. Adjust Color Balance (its Global mode shifts tints) and Saturate preview live; Edit Colors and Recolor also reach meshes, images and patterns. Recolor Artwork has colour reduction, five recolour methods, presets, Limit to Library, a colour-wheel Edit tab and Edit Color Group; a local Color Themes panel saves five-colour themes. Fill/Stroke chips open swatch and mixer popovers (the Properties panel has the Control bar's Fill and Stroke chips, Stroke link and weight spinner, with nothing selected too), panels have Illustrator's Window menu keys (Align Shift+F7, Transform Shift+F8, Pathfinder Cmd+Shift+F9, Layers F7, Character Cmd+T…; every panel can be given one in Edit › Keyboard Shortcuts), and Eyedropper Options pick up and apply chosen attributes (Alt and Shift+Alt, image pixels). An ICC CMYK profile converts straight into the RGB working space (not through sRGB, so a wider space such as Wide Gamut RGB keeps colours sRGB can't hold) with the colour settings' black-point compensation, on the canvas and in RGB exports alike (the built-in Generic CMYK compensates both ways, so RGB black separated to a rich black displays as black again). Fills and strokes can overprint (Attributes panel, Overprint Black options), and CMYK documents blend in inks on screen, in PDF and when flattening. Document Color Mode converts the art, symbols, pattern tiles and swatches through the colour settings: Gray stays Gray, RGB greys separate into four-colour greys and a rich black as Illustrator does, or go on the black plate only with `grays: "black"` (also for `document.open {colorMode}`).+ Plain Comma and Period, and also Shift+Comma and Shift+Period, apply the last solid color and the last gradient to the active Fill or Stroke proxy in VectorCraft ([Default keyboard shortcuts](https://web.archive.org/web/20260726060015/https://helpx.adobe.com/illustrator/using/default-keyboard-shortcuts.html), "Select color fill mode" and "Select gradient fill mode").A Cmd/Ctrl-click on the Color panel's spectrum applies Complement and a Cmd/Ctrl+Shift-click applies Invert to the active Fill or Stroke (`paint.complement`, `paint.invert`); with Alt also held, the click recolors the inactive one, as the reference app's [Default keyboard shortcuts](https://web.archive.org/web/20260726060015/https://helpx.adobe.com/illustrator/using/default-keyboard-shortcuts.html) list them.View › Proof Setup › Color blindness – Tritanopia-type turns Proof Colors on and proofs the canvas with the tritanopia simulation of Brettel, Viénot and Mollon (1997). The Separations Preview panel's Proof Setup list offers the same target (`view.proofSetup {target: "tritanopia"}`). Grays keep their value.- **Document Color Mode outside the layers:** File › Document Color Mode (in one undo step) and `document.open {colorMode}` also convert the colors of graph designs, graphic styles, opacity-mask art, the tile that pattern editing's Cancel puts back and the art of brushes (with a Hue Shift brush's key color); a tint of a global swatch there becomes the converted swatch's color at its tint, as in the art.