diff --git a/Cargo.lock b/Cargo.lock
index ee61a57463..17afafa588 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2536,6 +2536,8 @@ dependencies = [
"iced_core",
"iced_fonts_macros",
"iced_widget",
+ "num-format",
+ "num-traits",
"web-time",
]
@@ -3733,6 +3735,16 @@ dependencies = [
"syn 2.0.119",
]
+[[package]]
+name = "num-format"
+version = "0.4.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3"
+dependencies = [
+ "arrayvec",
+ "itoa",
+]
+
[[package]]
name = "num-integer"
version = "0.1.46"
diff --git a/Cargo.toml b/Cargo.toml
index 7fe8273a2b..d3b542ed8d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -28,7 +28,7 @@ url = "2"
iced = { git = "https://github.com/iced-rs/iced.git", rev = "23604ff22ab0aad9e00b9327cb7b8546ed84db39", features = ["image", "svg", "advanced", "canvas", "smol", "markdown"] }
iced_runtime = { git = "https://github.com/iced-rs/iced.git", rev = "23604ff22ab0aad9e00b9327cb7b8546ed84db39" }
iced_core = { git = "https://github.com/iced-rs/iced.git", rev = "23604ff22ab0aad9e00b9327cb7b8546ed84db39" }
-iced_aw = { git = "https://github.com/HakanSeven12/iced_aw.git", branch = "agent/fix-iced-fonts", features = ["menu", "context_menu", "color_picker", "drop_down"] }
+iced_aw = { git = "https://github.com/HakanSeven12/iced_aw.git", branch = "agent/fix-iced-fonts", features = ["menu", "context_menu", "drop_down", "number_input"] }
bytemuck = { version = "1.25", features = ["derive"] }
glam = { version = "0.33", features = ["bytemuck"] }
rfd = "0.17"
diff --git a/assets/icons/ui/eyedropper.svg b/assets/icons/ui/eyedropper.svg
new file mode 100644
index 0000000000..fe34cd3f91
--- /dev/null
+++ b/assets/icons/ui/eyedropper.svg
@@ -0,0 +1 @@
+
diff --git a/locales/ar-SA/opencadstudio.ftl b/locales/ar-SA/opencadstudio.ftl
index 8ae21b684f..3e064a7f86 100644
--- a/locales/ar-SA/opencadstudio.ftl
+++ b/locales/ar-SA/opencadstudio.ftl
@@ -1350,15 +1350,14 @@ common =
.dismiss = إغلاق
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = لا توجد ألوان حديثة بعد
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = سداسي عشري
+ .nearest-index-color = أقرب فهرس
+ .exact-index-match = تطابق تام مع الفهرس
.cad-color-index-aci-10-249 = فهرس ألوان ACI 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = المستخدمة مؤخرًا
.isometric-drafting = الرسم متساوي القياس
.f5-cycles-the-active-plane = يبدّل F5 المستوى النشط بالتتابع.
.units-5430a1 = { common.units }…
diff --git a/locales/bg-BG/opencadstudio.ftl b/locales/bg-BG/opencadstudio.ftl
index 77df7cecdf..e02e20d0f9 100644
--- a/locales/bg-BG/opencadstudio.ftl
+++ b/locales/bg-BG/opencadstudio.ftl
@@ -1337,15 +1337,14 @@ common =
.dismiss = Затваряне
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = Все още няма скорошни цветове
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = Hex
+ .nearest-index-color = Най-близък индекс
+ .exact-index-match = Точно съвпадение с индекс
.cad-color-index-aci-10-249 = ACI Цветови индекс 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = Последно използвани
.isometric-drafting = Изометрично чертане
.f5-cycles-the-active-plane = F5 превключва последователно активната равнина.
.units-5430a1 = { common.units }…
diff --git a/locales/cs-CZ/opencadstudio.ftl b/locales/cs-CZ/opencadstudio.ftl
index 9c46559d10..544cbc5c6c 100644
--- a/locales/cs-CZ/opencadstudio.ftl
+++ b/locales/cs-CZ/opencadstudio.ftl
@@ -1337,15 +1337,14 @@ common =
.dismiss = Zavřít
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = Zatím žádné nedávné barvy
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = Hex
+ .nearest-index-color = Nejbližší index
+ .exact-index-match = Přesná shoda s indexem
.cad-color-index-aci-10-249 = Barevný index ACI 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = Nedávno použité
.isometric-drafting = Izometrické kreslení
.f5-cycles-the-active-plane = F5 cyklicky přepíná aktivní rovinu.
.units-5430a1 = { common.units }…
diff --git a/locales/de-DE/opencadstudio.ftl b/locales/de-DE/opencadstudio.ftl
index 9e70f9e311..8ca17932f8 100644
--- a/locales/de-DE/opencadstudio.ftl
+++ b/locales/de-DE/opencadstudio.ftl
@@ -1338,15 +1338,14 @@ common =
.dismiss = Schließen
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = Noch keine zuletzt verwendeten Farben
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = Hex
+ .nearest-index-color = Nächster Index
+ .exact-index-match = Exakter Index-Treffer
.cad-color-index-aci-10-249 = ACI Farbindex 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = Zuletzt verwendet
.isometric-drafting = Isometrisches Zeichnen
.f5-cycles-the-active-plane = F5 wechselt die aktive Ebene der Reihe nach.
.units-5430a1 = { common.units }…
diff --git a/locales/el-GR/opencadstudio.ftl b/locales/el-GR/opencadstudio.ftl
index d6ecc823e5..7c28112e92 100644
--- a/locales/el-GR/opencadstudio.ftl
+++ b/locales/el-GR/opencadstudio.ftl
@@ -1339,15 +1339,14 @@ common =
.dismiss = Κλείσιμο
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = Δεν υπάρχουν ακόμη πρόσφατα χρώματα
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = Hex
+ .nearest-index-color = Πλησιέστερος δείκτης
+ .exact-index-match = Ακριβής αντιστοίχιση δείκτη
.cad-color-index-aci-10-249 = Δείκτης χρώματος ACI 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = Πρόσφατα χρησιμοποιημένα
.isometric-drafting = Ισομετρική σχεδίαση
.f5-cycles-the-active-plane = Το F5 εναλλάσσει το ενεργό επίπεδο.
.units-5430a1 = { common.units }…
diff --git a/locales/en-US/opencadstudio.ftl b/locales/en-US/opencadstudio.ftl
index 078294c99a..20d9158c5c 100644
--- a/locales/en-US/opencadstudio.ftl
+++ b/locales/en-US/opencadstudio.ftl
@@ -1338,15 +1338,14 @@ common =
.dismiss = Dismiss
.value-8a8de8 = ?
.select-color-8dddf1 = Select Color...
- .no-recent-colors-yet = No recent colors yet
- .true-color-rgb = True Color RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = Index Color
.true-color = True Color
.standard-colors = Standard colors
+ .color-hex = Hex
+ .nearest-index-color = Nearest index
+ .exact-index-match = Exact index match
.cad-color-index-aci-10-249 = CAD Color Index (ACI) 10–249
- .color-family-shade-intensity = Color family → · Shade / intensity ↓
.grayscale-250-255 = Grayscale 250–255
- .recently-used = Recently used
.isometric-drafting = Isometric drafting
.f5-cycles-the-active-plane = F5 cycles the active plane.
.units-5430a1 = Units…
diff --git a/locales/es-ES/opencadstudio.ftl b/locales/es-ES/opencadstudio.ftl
index a1cc0ff99d..02f7d27aa9 100644
--- a/locales/es-ES/opencadstudio.ftl
+++ b/locales/es-ES/opencadstudio.ftl
@@ -1338,15 +1338,14 @@ common =
.dismiss = Cerrar
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = Aún no hay colores recientes
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = Hex
+ .nearest-index-color = Índice más cercano
+ .exact-index-match = Coincide con un índice
.cad-color-index-aci-10-249 = Índice de color ACI 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = Usados recientemente
.isometric-drafting = Dibujo isométrico
.f5-cycles-the-active-plane = F5 alterna el plano activo.
.units-5430a1 = { common.units }…
diff --git a/locales/fi-FI/opencadstudio.ftl b/locales/fi-FI/opencadstudio.ftl
index 7147a6f328..2cd800ab58 100644
--- a/locales/fi-FI/opencadstudio.ftl
+++ b/locales/fi-FI/opencadstudio.ftl
@@ -1337,15 +1337,14 @@ common =
.dismiss = Sulje
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = Ei vielä viimeksi käytettyjä värejä
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = Hex
+ .nearest-index-color = Lähin indeksi
+ .exact-index-match = Täsmälleen indeksiväri
.cad-color-index-aci-10-249 = ACI väriindeksi 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = Viimeksi käytetyt
.isometric-drafting = Isometrinen piirtäminen
.f5-cycles-the-active-plane = F5 vaihtaa aktiivista tasoa.
.units-5430a1 = { common.units }…
diff --git a/locales/fr-FR/opencadstudio.ftl b/locales/fr-FR/opencadstudio.ftl
index 2974e3e5ca..562ba530dc 100644
--- a/locales/fr-FR/opencadstudio.ftl
+++ b/locales/fr-FR/opencadstudio.ftl
@@ -1338,15 +1338,14 @@ common =
.dismiss = Fermer
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = Aucune couleur récente
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = Hex
+ .nearest-index-color = Index le plus proche
+ .exact-index-match = Correspondance exacte d'index
.cad-color-index-aci-10-249 = ACI Indice de couleur 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = Utilisés récemment
.isometric-drafting = Dessin isométrique
.f5-cycles-the-active-plane = F5 fait défiler les plans actifs.
.units-5430a1 = { common.units }…
diff --git a/locales/hi-IN/opencadstudio.ftl b/locales/hi-IN/opencadstudio.ftl
index 0480734a70..38dd1bc640 100644
--- a/locales/hi-IN/opencadstudio.ftl
+++ b/locales/hi-IN/opencadstudio.ftl
@@ -1326,15 +1326,14 @@ common =
.dismiss = बंद करें
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = अभी कोई हालिया रंग नहीं है
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = हेक्स
+ .nearest-index-color = निकटतम इंडेक्स
+ .exact-index-match = इंडेक्स से सटीक मेल
.cad-color-index-aci-10-249 = ACI रंग सूचकांक 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = हाल में उपयोग किए गए
.isometric-drafting = सममितीय आरेखन
.f5-cycles-the-active-plane = F5 सक्रिय तल को क्रम से बदलता है।
.units-5430a1 = { common.units }…
diff --git a/locales/hu-HU/opencadstudio.ftl b/locales/hu-HU/opencadstudio.ftl
index d99eea6b37..c2c689c6f2 100644
--- a/locales/hu-HU/opencadstudio.ftl
+++ b/locales/hu-HU/opencadstudio.ftl
@@ -1337,15 +1337,14 @@ common =
.dismiss = Bezárás
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = Még nincsenek legutóbbi színek
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.color } ({ common.standard })
+ .color-hex = Hex
+ .nearest-index-color = Legközelebbi index
+ .exact-index-match = Pontos indexegyezés
.cad-color-index-aci-10-249 = ACI színindex 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = Legutóbb használt
.isometric-drafting = Izometrikus rajzolás
.f5-cycles-the-active-plane = Az F5 váltja az aktív síkot.
.units-5430a1 = { common.units }…
diff --git a/locales/it-IT/opencadstudio.ftl b/locales/it-IT/opencadstudio.ftl
index de2d9153e7..8af2dad92f 100644
--- a/locales/it-IT/opencadstudio.ftl
+++ b/locales/it-IT/opencadstudio.ftl
@@ -1337,15 +1337,14 @@ common =
.dismiss = Chiudi
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = Nessun colore recente
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = Hex
+ .nearest-index-color = Indice più vicino
+ .exact-index-match = Corrispondenza esatta indice
.cad-color-index-aci-10-249 = ACI Indice colori 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = Usati di recente
.isometric-drafting = Disegno isometrico
.f5-cycles-the-active-plane = F5 alterna il piano attivo.
.units-5430a1 = { common.units }…
diff --git a/locales/ja-JP/opencadstudio.ftl b/locales/ja-JP/opencadstudio.ftl
index 272c408464..e221469e4d 100644
--- a/locales/ja-JP/opencadstudio.ftl
+++ b/locales/ja-JP/opencadstudio.ftl
@@ -1328,15 +1328,14 @@ common =
.dismiss = 閉じる
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = 最近使った色はありません
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = 16進
+ .nearest-index-color = 最も近いインデックス
+ .exact-index-match = インデックスと完全一致
.cad-color-index-aci-10-249 = ACI カラーインデックス 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = 最近使用した色
.isometric-drafting = アイソメ図作成
.f5-cycles-the-active-plane = F5でアクティブな平面を順に切り替えます。
.units-5430a1 = { common.units }…
diff --git a/locales/ko-KR/opencadstudio.ftl b/locales/ko-KR/opencadstudio.ftl
index a24c5a4967..931a8f7460 100644
--- a/locales/ko-KR/opencadstudio.ftl
+++ b/locales/ko-KR/opencadstudio.ftl
@@ -1337,15 +1337,14 @@ common =
.dismiss = 닫기
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = 최근 사용한 색상이 없습니다
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = 16진수
+ .nearest-index-color = 가장 가까운 인덱스
+ .exact-index-match = 인덱스와 정확히 일치
.cad-color-index-aci-10-249 = ACI 컬러 인덱스 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = 최근 사용
.isometric-drafting = 등각 제도
.f5-cycles-the-active-plane = F5 키로 활성 평면을 순환 전환합니다.
.units-5430a1 = { common.units }…
diff --git a/locales/lo-LA/opencadstudio.ftl b/locales/lo-LA/opencadstudio.ftl
index 7fc072257b..49f8057440 100644
--- a/locales/lo-LA/opencadstudio.ftl
+++ b/locales/lo-LA/opencadstudio.ftl
@@ -1343,15 +1343,14 @@ common =
.dismiss = ປິດອອກ
.value-8a8de8 = ?
.select-color-8dddf1 = ເລືອກສີ...
- .no-recent-colors-yet = ຍັງບໍ່ມີສີຫຼ້າສຸດ
- .true-color-rgb = True Color RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = ສີດັດຊະນີ
.true-color = True Color
.standard-colors = ສີມາດຕະຖານ
+ .color-hex = Hex
+ .nearest-index-color = ດັດຊະນີທີ່ໃກ້ທີ່ສຸດ
+ .exact-index-match = ກົງກັບດັດຊະນີພໍດີ
.cad-color-index-aci-10-249 = CAD Color Index (ACI) 10–249
- .color-family-shade-intensity = ກຸ່ມສີ → · ລະດັບສີ / ຄວາມເຂັ້ມ ↓
.grayscale-250-255 = ລະດັບສີເທົາ 250–255
- .recently-used = ໃຊ້ຫຼ້າສຸດ
.isometric-drafting = ການຂຽນແບບໄອໂຊເມຕຣິກ
.f5-cycles-the-active-plane = F5 ປ່ຽນລະນາບທີ່ໃຊ້ງານວຽນໄປ.
.units-5430a1 = ຫົວໜ່ວຍ…
diff --git a/locales/nl-NL/opencadstudio.ftl b/locales/nl-NL/opencadstudio.ftl
index a73bc3748d..fb4af2b560 100644
--- a/locales/nl-NL/opencadstudio.ftl
+++ b/locales/nl-NL/opencadstudio.ftl
@@ -1336,15 +1336,14 @@ common =
.dismiss = Sluiten
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = Nog geen recente kleuren
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = Hex
+ .nearest-index-color = Dichtstbijzijnde index
+ .exact-index-match = Exacte indexkleur
.cad-color-index-aci-10-249 = ACI Kleurindex 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = Recent gebruikt
.isometric-drafting = Isometrisch tekenen
.f5-cycles-the-active-plane = F5 wisselt het actieve vlak.
.units-5430a1 = { common.units }…
diff --git a/locales/pl-PL/opencadstudio.ftl b/locales/pl-PL/opencadstudio.ftl
index bc0f2f9672..cc06b8293a 100644
--- a/locales/pl-PL/opencadstudio.ftl
+++ b/locales/pl-PL/opencadstudio.ftl
@@ -1337,15 +1337,14 @@ common =
.dismiss = Zamknij
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = Brak ostatnio używanych kolorów
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = Hex
+ .nearest-index-color = Najbliższy indeks
+ .exact-index-match = Dokładne dopasowanie indeksu
.cad-color-index-aci-10-249 = Indeks kolorów ACI 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = Ostatnio używane
.isometric-drafting = Rysowanie izometryczne
.f5-cycles-the-active-plane = F5 przełącza aktywną płaszczyznę.
.units-5430a1 = { common.units }…
diff --git a/locales/pt-BR/opencadstudio.ftl b/locales/pt-BR/opencadstudio.ftl
index 4e504b8a25..3b8aedc440 100644
--- a/locales/pt-BR/opencadstudio.ftl
+++ b/locales/pt-BR/opencadstudio.ftl
@@ -1338,15 +1338,14 @@ common =
.dismiss = Fechar
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = Nenhuma cor recente ainda
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = Hex
+ .nearest-index-color = Índice mais próximo
+ .exact-index-match = Corresponde exatamente ao índice
.cad-color-index-aci-10-249 = Índice de cor ACI 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = Usados recentemente
.isometric-drafting = Desenho isométrico
.f5-cycles-the-active-plane = F5 alterna o plano ativo.
.units-5430a1 = { common.units }…
diff --git a/locales/ru-RU/opencadstudio.ftl b/locales/ru-RU/opencadstudio.ftl
index 00699e37b9..c8e2554134 100644
--- a/locales/ru-RU/opencadstudio.ftl
+++ b/locales/ru-RU/opencadstudio.ftl
@@ -1341,15 +1341,14 @@ common =
.dismiss = Закрыть
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = Недавно использованных цветов пока нет
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = Hex
+ .nearest-index-color = Ближайший индекс
+ .exact-index-match = Точное совпадение с индексом
.cad-color-index-aci-10-249 = Индекс цвета ACI 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = Недавно использованные
.isometric-drafting = Изометрическое черчение
.f5-cycles-the-active-plane = F5 циклически переключает активную плоскость.
.units-5430a1 = { common.units }…
diff --git a/locales/tr-TR/opencadstudio.ftl b/locales/tr-TR/opencadstudio.ftl
index 10fec03ec3..a2fe8529d2 100644
--- a/locales/tr-TR/opencadstudio.ftl
+++ b/locales/tr-TR/opencadstudio.ftl
@@ -1324,15 +1324,14 @@ common =
.dismiss = Kapat
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = Henüz son kullanılan renk yok
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = Hex
+ .nearest-index-color = En yakın indeks
+ .exact-index-match = Tam indeks eşleşmesi
.cad-color-index-aci-10-249 = ACI renk dizini 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = Son kullanılanlar
.isometric-drafting = İzometrik çizim
.f5-cycles-the-active-plane = F5 etkin düzlemi sırayla değiştirir.
.units-5430a1 = { common.units }…
diff --git a/locales/zh-CN/opencadstudio.ftl b/locales/zh-CN/opencadstudio.ftl
index 710214e955..af02d48a43 100644
--- a/locales/zh-CN/opencadstudio.ftl
+++ b/locales/zh-CN/opencadstudio.ftl
@@ -1325,15 +1325,14 @@ common =
.dismiss = 关闭
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = 尚无最近使用的颜色
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = 十六进制
+ .nearest-index-color = 最接近的索引色
+ .exact-index-match = 与索引色完全匹配
.cad-color-index-aci-10-249 = ACI 颜色索引 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = 最近使用
.isometric-drafting = 等轴测绘图
.f5-cycles-the-active-plane = F5 循环切换活动平面。
.units-5430a1 = { common.units }…
diff --git a/locales/zh-TW/opencadstudio.ftl b/locales/zh-TW/opencadstudio.ftl
index ca3f9fd1d4..11b4868a6e 100644
--- a/locales/zh-TW/opencadstudio.ftl
+++ b/locales/zh-TW/opencadstudio.ftl
@@ -1337,15 +1337,14 @@ common =
.dismiss = 關閉
.value-8a8de8 = ?
.select-color-8dddf1 = { common.select-color }…
- .no-recent-colors-yet = 尚無最近使用的顏色
- .true-color-rgb = { common.true-color } RGB __ocs_fmt_0__, __ocs_fmt_1__, __ocs_fmt_2__
.index-color = { common.color } (ACI)
.true-color = { common.color } (RGB)
.standard-colors = { common.standard } · { common.color }
+ .color-hex = 十六進位
+ .nearest-index-color = 最接近的索引色
+ .exact-index-match = 與索引色完全相符
.cad-color-index-aci-10-249 = ACI 顏色索引 10–249
- .color-family-shade-intensity = { common.color-family } → · { common.shade } / { properties.intensity } ↓
.grayscale-250-255 = { common.grayscale } 250–255
- .recently-used = 最近使用
.isometric-drafting = 等角製圖
.f5-cycles-the-active-plane = F5 循環切換作用中平面。
.units-5430a1 = { common.units }…
diff --git a/src/app/dock/view.rs b/src/app/dock/view.rs
index 7fb744d6ab..a50d6ee86d 100644
--- a/src/app/dock/view.rs
+++ b/src/app/dock/view.rs
@@ -391,8 +391,8 @@ impl OpenCADStudio {
.location(id)
.map_or(crate::app::config::DockSide::Right, |(side, _)| side),
matches!(
- self.color_pick_target,
- Some((crate::app::ColorPickTarget::Gradient(_), _))
+ self.color_picker.as_ref().map(|picker| &picker.target),
+ Some(crate::app::ColorPickTarget::Gradient(_))
),
),
crate::ui::dock::PanelId::BlockPalette => {
diff --git a/src/app/mod.rs b/src/app/mod.rs
index e15238efc7..73e7b8c630 100644
--- a/src/app/mod.rs
+++ b/src/app/mod.rs
@@ -844,9 +844,6 @@ pub(super) struct OpenCADStudio {
pub(crate) sheet_set_pending_layout: Option<(String, String)>,
/// The subset / set Import Layout as Sheet adds to, while its file picker is open.
pub(crate) sheet_set_import_parent: Option,
- /// Which viewport background the colour wheel is editing, or `None` when
- /// it is closed. One slot, because only one wheel can be open at a time.
- pub(crate) bg_picker: Option,
/// General edge-stack dock layout for the side panels.
pub(crate) dock: crate::ui::dock::DockState,
/// Pallet revealed although it auto-hides (its edge's group, or its
@@ -966,10 +963,8 @@ pub(super) struct OpenCADStudio {
#[cfg(target_arch = "wasm32")]
web_autosave_clear_after: Vec,
// ── Floating panel windows ────────────────────────────────────────────
- /// Active `iced_aw` colour picker: destination plus its initial colour.
- color_pick_target: Option<(ColorPickTarget, AcadColor)>,
- /// Visible page in the shared CAD colour picker.
- color_picker_tab: ColorPickerTab,
+ /// The open Select Color panel, if any.
+ color_picker: Option,
/// Recently committed real colours, newest first.
/// ACI and True Color remain semantically distinct even when their RGB matches.
recent_colors: Vec,
@@ -1670,21 +1665,19 @@ pub struct SaveOutcome {
refreshed_preview: Option