Status bar binds the zoom alone; what the app remembers in preferences moves no region's version (FW-365 F6)

This commit is contained in:
aiongg committed 2026-11-27 00:40:21 +00:00
1 parent bd89c1147c
commit a5e476b933
6 files changed
+71 -101

No files matched your search

Generated
+40 -83
View File
@@ -1365,7 +1365,6 @@ dependencies = [
[[package]]
name = "craft"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-automation",
"craft-behavior",
@@ -1406,7 +1405,6 @@ dependencies = [
[[package]]
name = "craft-affinity"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"crc32fast",
"flate2",
@@ -1427,7 +1425,6 @@ dependencies = [
[[package]]
name = "craft-appkit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"block2 0.6.2",
"objc2 0.6.5",
@@ -1438,7 +1435,6 @@ dependencies = [
[[package]]
name = "craft-atomic"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"rustix 1.1.6",
]
@@ -1446,7 +1442,6 @@ dependencies = [
[[package]]
name = "craft-automation"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -1471,7 +1466,6 @@ dependencies = [
[[package]]
name = "craft-behavior"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"accesskit",
"bitflags 2.13.2",
@@ -1489,7 +1483,6 @@ dependencies = [
[[package]]
name = "craft-browse"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-docpath",
@@ -1507,7 +1500,6 @@ dependencies = [
[[package]]
name = "craft-cloud-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"egui",
]
@@ -1515,7 +1507,6 @@ dependencies = [
[[package]]
name = "craft-cms"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"md-5",
"rayon",
@@ -1524,12 +1515,10 @@ dependencies = [
[[package]]
name = "craft-codepage"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
[[package]]
name = "craft-color"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"serde",
]
@@ -1537,7 +1526,6 @@ dependencies = [
[[package]]
name = "craft-color-transform"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-cms",
"craft-color",
@@ -1547,7 +1535,6 @@ dependencies = [
[[package]]
name = "craft-color-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-cms",
@@ -1567,7 +1554,6 @@ dependencies = [
[[package]]
name = "craft-control"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-ai-agents",
"craft-atomic",
@@ -1583,7 +1569,6 @@ dependencies = [
[[package]]
name = "craft-crs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-metadata",
"craft-xml",
@@ -1593,7 +1578,6 @@ dependencies = [
[[package]]
name = "craft-crw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"thiserror 2.0.21",
]
@@ -1601,7 +1585,6 @@ dependencies = [
[[package]]
name = "craft-dds"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"rayon",
]
@@ -1609,7 +1592,6 @@ dependencies = [
[[package]]
name = "craft-develop"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-color",
"craft-color-transform",
@@ -1624,7 +1606,6 @@ dependencies = [
[[package]]
name = "craft-develop-model"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-geom",
"craft-metadata",
@@ -1636,7 +1617,6 @@ dependencies = [
[[package]]
name = "craft-dialogs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"block2 0.6.2",
"craft-appkit",
@@ -1662,7 +1642,6 @@ dependencies = [
[[package]]
name = "craft-docpath"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"serde",
]
@@ -1670,7 +1649,6 @@ dependencies = [
[[package]]
name = "craft-draw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1689,12 +1667,10 @@ dependencies = [
[[package]]
name = "craft-eps"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
[[package]]
name = "craft-file-formats"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-eps",
"craft-idml",
@@ -1712,7 +1688,6 @@ dependencies = [
[[package]]
name = "craft-flags"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-atomic",
"dirs",
@@ -1722,7 +1697,6 @@ dependencies = [
[[package]]
name = "craft-font-catalog"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"fontique",
"harfrust 0.13.3",
@@ -1737,7 +1711,6 @@ dependencies = [
[[package]]
name = "craft-font-manager"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-font-catalog",
@@ -1757,7 +1730,6 @@ dependencies = [
[[package]]
name = "craft-font-os-windows"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"windows-registry",
"windows-sys 0.61.2",
@@ -1766,7 +1738,6 @@ dependencies = [
[[package]]
name = "craft-font-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"cap-primitives",
"craft-atomic",
@@ -1789,12 +1760,10 @@ dependencies = [
[[package]]
name = "craft-fonts-build"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
[[package]]
name = "craft-geom"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"serde",
]
@@ -1802,7 +1771,6 @@ dependencies = [
[[package]]
name = "craft-heif"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"heic-rs",
"rayon",
@@ -1811,7 +1779,6 @@ dependencies = [
[[package]]
name = "craft-host"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"bitflags 2.13.2",
"craft-i18n",
@@ -1824,7 +1791,6 @@ dependencies = [
[[package]]
name = "craft-i18n"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"chrono",
"fixed_decimal",
@@ -1852,7 +1818,6 @@ dependencies = [
[[package]]
name = "craft-idml"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-xml",
"craft-zip",
@@ -1862,7 +1827,6 @@ dependencies = [
[[package]]
name = "craft-image-codecs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-dds",
"craft-heif",
@@ -1890,7 +1854,6 @@ dependencies = [
[[package]]
name = "craft-imaging"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1908,12 +1871,10 @@ dependencies = [
[[package]]
name = "craft-ipp"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
[[package]]
name = "craft-jpeg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"thiserror 2.0.21",
]
@@ -1921,7 +1882,6 @@ dependencies = [
[[package]]
name = "craft-keymap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-host",
"craft-i18n",
@@ -1936,7 +1896,6 @@ dependencies = [
[[package]]
name = "craft-kra"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-xml",
"craft-zip",
@@ -1946,7 +1905,6 @@ dependencies = [
[[package]]
name = "craft-layers"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-i18n",
@@ -1960,7 +1918,6 @@ dependencies = [
[[package]]
name = "craft-menu"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-host",
@@ -1978,7 +1935,6 @@ dependencies = [
[[package]]
name = "craft-metadata"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"brotli-decompressor 6.3.2",
"chrono",
@@ -1990,7 +1946,6 @@ dependencies = [
[[package]]
name = "craft-ora"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-xml",
"craft-zip",
@@ -2000,7 +1955,6 @@ dependencies = [
[[package]]
name = "craft-pages"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2016,7 +1970,6 @@ dependencies = [
[[package]]
name = "craft-pcraft-bundle"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"blake3",
"craft-atomic",
@@ -2029,7 +1982,6 @@ dependencies = [
[[package]]
name = "craft-pcraft-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"flate2",
"serde",
@@ -2040,7 +1992,6 @@ dependencies = [
[[package]]
name = "craft-pdf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"bytemuck",
"flate2",
@@ -2055,7 +2006,6 @@ dependencies = [
[[package]]
name = "craft-pdn"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"flate2",
"thiserror 2.0.21",
@@ -2064,7 +2014,6 @@ dependencies = [
[[package]]
name = "craft-platform"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"async-channel",
"async-io",
@@ -2095,7 +2044,6 @@ dependencies = [
[[package]]
name = "craft-plist"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"thiserror 2.0.21",
]
@@ -2103,7 +2051,6 @@ dependencies = [
[[package]]
name = "craft-print"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2127,7 +2074,6 @@ dependencies = [
[[package]]
name = "craft-psd"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"encoding_rs",
"flate2",
@@ -2138,7 +2084,6 @@ dependencies = [
[[package]]
name = "craft-quit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"dispatch2",
"egui",
@@ -2151,7 +2096,6 @@ dependencies = [
[[package]]
name = "craft-raw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"chrono",
"craft-crw",
@@ -2169,7 +2113,6 @@ dependencies = [
[[package]]
name = "craft-review"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -2188,7 +2131,6 @@ dependencies = [
[[package]]
name = "craft-settings"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-atomic",
"craft-host",
@@ -2205,7 +2147,6 @@ dependencies = [
[[package]]
name = "craft-svg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-image-codecs",
"craft-xml",
@@ -2226,7 +2167,6 @@ dependencies = [
[[package]]
name = "craft-table"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2238,12 +2178,10 @@ dependencies = [
[[package]]
name = "craft-testkit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
[[package]]
name = "craft-text"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-font-manager",
@@ -2266,7 +2204,6 @@ dependencies = [
[[package]]
name = "craft-theme"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"bitflags 2.13.2",
"craft-tracked",
@@ -2281,7 +2218,6 @@ dependencies = [
[[package]]
name = "craft-theme-editor"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-theme",
@@ -2292,7 +2228,6 @@ dependencies = [
[[package]]
name = "craft-theme-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-atomic",
"craft-behavior",
@@ -2307,7 +2242,6 @@ dependencies = [
[[package]]
name = "craft-tiff"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2317,7 +2251,6 @@ dependencies = [
[[package]]
name = "craft-time"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2326,7 +2259,6 @@ dependencies = [
[[package]]
name = "craft-timeline"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2341,7 +2273,6 @@ dependencies = [
[[package]]
name = "craft-tracked"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"serde",
]
@@ -2349,7 +2280,6 @@ dependencies = [
[[package]]
name = "craft-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-cloud-ui",
"craft-ui-canvas",
@@ -2363,7 +2293,6 @@ dependencies = [
[[package]]
name = "craft-ui-canvas"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-i18n",
@@ -2379,7 +2308,6 @@ dependencies = [
[[package]]
name = "craft-ui-contract"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"accesskit",
"craft-behavior",
@@ -2421,7 +2349,6 @@ dependencies = [
[[package]]
name = "craft-ui-macros"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -2432,7 +2359,6 @@ dependencies = [
[[package]]
name = "craft-ui-panels"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2450,7 +2376,6 @@ dependencies = [
[[package]]
name = "craft-ui-patterns"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2471,7 +2396,6 @@ dependencies = [
[[package]]
name = "craft-ui-shell"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2491,7 +2415,6 @@ dependencies = [
[[package]]
name = "craft-ui-widgets"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2510,7 +2433,6 @@ dependencies = [
[[package]]
name = "craft-update"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"chrono",
"craft-host",
@@ -2539,7 +2461,6 @@ dependencies = [
[[package]]
name = "craft-win32"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"winsafe",
]
@@ -2547,7 +2468,6 @@ dependencies = [
[[package]]
name = "craft-window"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"craft-appkit",
"craft-atomic",
@@ -2579,7 +2499,6 @@ dependencies = [
[[package]]
name = "craft-xcf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"flate2",
"thiserror 2.0.21",
@@ -2588,7 +2507,6 @@ dependencies = [
[[package]]
name = "craft-xml"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"quick-xml 0.41.0",
"serde",
@@ -2598,7 +2516,6 @@ dependencies = [
[[package]]
name = "craft-zip"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=a46af76c7c74dd8dd375d694baaef00d5ae836a2#a46af76c7c74dd8dd375d694baaef00d5ae836a2"
dependencies = [
"flate2",
"thiserror 2.0.21",
@@ -11398,6 +11315,46 @@ dependencies = [
"winnow",
]
[[patch.unused]]
name = "hayro"
version = "0.7.1"
[[patch.unused]]
name = "hayro-cmap"
version = "0.1.0"
[[patch.unused]]
name = "hayro-interpret"
version = "0.7.0"
[[patch.unused]]
name = "hayro-jbig2"
version = "0.3.0"
[[patch.unused]]
name = "hayro-postscript"
version = "0.1.0"
[[patch.unused]]
name = "hayro-syntax"
version = "0.7.2"
[[patch.unused]]
name = "krilla"
version = "0.8.2"
[[patch.unused]]
name = "linesweeper"
version = "0.5.0"
[[patch.unused]]
name = "vello_common"
version = "0.0.8"
[[patch.unused]]
name = "vello_cpu"
version = "0.0.8"
[[patch.unused]]
name = "egui_demo_lib"
version = "0.37.0"
+13 -1
View File
@@ -8,6 +8,7 @@ use super::{Deserialize, Map, Preferences, Serialize, Value};
pub struct PrefsStore {
values: Preferences,
rev: u64,
settings_rev: u64,
catalog_rev: u64,
section_revs: std::collections::BTreeMap<String, u64>,
}
@@ -16,8 +17,15 @@ impl PrefsStore {
pub fn get(&self) -> &Preferences {
&self.values
}
/// Change preferences; bumps the revision.
/// Change preferences; bumps the revision and the settings revision.
pub fn edit<R>(&mut self, f: impl FnOnce(&mut Preferences) -> R) -> R {
self.settings_rev += 1;
self.remember(f)
}
/// Store what the app remembers of its own state between launches (the selected tool, its options, the colours):
/// bumps the revision, so frontends persist, but not the settings revision, because no view reads these back from
/// the preferences; they show the state itself.
pub fn remember<R>(&mut self, f: impl FnOnce(&mut Preferences) -> R) -> R {
let before = (&self.values.shortcuts, &self.values.alternate_shortcuts, &self.values.toolbar);
let before = (before.0.clone(), before.1.clone(), before.2.clone());
let sections = self.values.sections.clone();
@@ -45,6 +53,10 @@ impl PrefsStore {
pub fn rev(&self) -> u64 {
self.rev
}
/// Revision of the preferences views read: every [`edit`](Self::edit), not what the app [`remember`](Self::remember)s.
pub fn settings_rev(&self) -> u64 {
self.settings_rev
}
}
/// The preferences file format written by [`SavedPrefsExt::prefs_value`](crate::prefs::SavedPrefsExt::prefs_value). 2: Use Shift Key for Tool
+2 -3
View File
@@ -249,7 +249,6 @@ fn a_tool_option_runs_the_options_bar_once() {
let on = h.state().ui.tool_options.move_auto_select;
h.state_mut().ui.tool_options.move_auto_select = !on;
assert!(ran_over(&mut h, 1, "OptionsSlot<") > 0, "a changed option runs the bar");
// The frame after the run settles (a run's second pass replays what the first ran); then two idle frames run nothing.
h.run_steps(1);
assert_eq!(ran_over(&mut h, 2, "OptionsSlot<"), 0, "the bar's own run leaves the version as it was");
// What the bar's frame remembers of the option (the saved preferences) moves no version.
assert_eq!(ran_over(&mut h, 3, "OptionsSlot<"), 0, "the frames after the changed one run no bar");
}
+1 -1
View File
@@ -159,7 +159,7 @@ pub(crate) fn changes_only_the_view(app: &PhotocraftApp, id: &str) -> bool {
fn version(app: &PhotocraftApp, extra: impl Hash) -> u64 {
let mut hasher = std::collections::hash_map::DefaultHasher::new();
app.commands_run.hash(&mut hasher);
app.session.prefs.rev().hash(&mut hasher);
app.session.prefs.settings_rev().hash(&mut hasher);
app.session.active_generation().hash(&mut hasher);
app.session.active_layer_changes().hash(&mut hasher);
app.session.active().map(|st| st.revision).hash(&mut hasher);
+10 -8
View File
@@ -1,5 +1,5 @@
use craft::behavior::CanvasView;
use craft::behavior::kurbo::{Point, Size};
use craft::behavior::kurbo::Size;
use craft::theme::variant::Tone;
use craft::ui::bars::{Bar, BarKind, StatusItem, StatusMessage, StatusProgress, StatusReadout, StatusValues};
use craft::ui::contract::{Bind, MemoProps, MemoView, Outbox, ShowContainer as _};
@@ -154,14 +154,12 @@ fn body_view(props: &mut StatusProps<'_>, ui: &mut egui::Ui) {
fn body_members(props: &mut StatusProps<'_>, ui: &mut egui::Ui) {
match (props.document, props.zoom) {
(Some(size), Some(zoom)) => {
// The readout reads the zoom alone; the rest of the view is the document's own, which an edit leaves.
let view = CanvasView::new(egui::Rect::ZERO, Point::ZERO, zoom);
let out = StatusReadout::new(Bind::given(view), size, props.item, &props.values).show(ui);
let out = StatusReadout::new(Bind::given(zoom), size, props.item, &props.values).show(ui);
if let Some(picked) = out.item {
props.out.send(StatusEvent::Item(picked));
}
if let Some(view) = out.view.value() {
props.out.send(StatusEvent::Zoom(view.zoom));
if let Some(zoom) = out.zoom_edits.value() {
props.out.send(StatusEvent::Zoom(*zoom));
}
if let Some(invalid) = out.invalid_zoom {
props.out.send(StatusEvent::InvalidZoom(invalid));
@@ -189,9 +187,13 @@ pub(crate) fn document_window_status(app: &mut PhotocraftApp, ui: &mut egui::Ui,
let (mut picked, mut edited, mut invalid_zoom) = (None, None, None);
Bar::new("", BarKind::Status).show(ui, |ui, _| {
if let (Some(size), Some(view)) = (size, view) {
let out = StatusReadout::new(Bind::given(view), size, item, &values).show(ui);
let out = StatusReadout::new(Bind::given(view.zoom), size, item, &values).show(ui);
picked = out.item;
edited = out.view.value().copied();
edited = out.zoom_edits.value().map(|zoom| {
let mut zoomed = view;
zoomed.zoom = *zoom;
zoomed
});
invalid_zoom = out.invalid_zoom;
}
});
+5 -5
View File
@@ -90,7 +90,7 @@ pub fn persist(app: &mut PhotocraftApp, ctx: &egui::Context) {
if let Ok(now) = serde_json::to_value(tool)
&& app.session.prefs().selected_tool != now
{
app.session.prefs.edit(|p| p.selected_tool = now);
app.session.prefs.remember(|p| p.selected_tool = now);
// prefs_ui::tick ran before the panels; ensure it can flush this new revision.
ctx.request_repaint();
}
@@ -104,7 +104,7 @@ pub fn persist(app: &mut PhotocraftApp, ctx: &egui::Context) {
app.prefs_rt.tool_options = Some(app.ui.tool_options.clone());
let now = changed(&app.ui.tool_options);
if app.session.prefs().tool_options != now {
app.session.prefs.edit(|p| p.tool_options = now);
app.session.prefs.remember(|p| p.tool_options = now);
}
}
@@ -138,7 +138,7 @@ fn persist_colors(app: &mut PhotocraftApp, ctx: &egui::Context) {
photocraft_engine::prefs::stamp_tool_color_picks(&mut saved, &app.session.prefs().tool_colors);
saved
};
app.session.prefs.edit(|p| p.tool_colors = photocraft_engine::prefs::ToolColors(saved));
app.session.prefs.remember(|p| p.tool_colors = photocraft_engine::prefs::ToolColors(saved));
// Panels and shortcuts can change colours after prefs_ui::tick already ran this frame.
ctx.request_repaint();
}
@@ -289,7 +289,7 @@ fn persist_group_tools(app: &mut PhotocraftApp, ctx: &egui::Context, tool: Tool)
if let Ok(now) = serde_json::to_value(&app.ui.group_tools)
&& app.session.prefs().group_tools != now
{
app.session.prefs.edit(|p| p.group_tools = now);
app.session.prefs.remember(|p| p.group_tools = now);
// As for the selected tool: prefs_ui::tick ran before the panels.
ctx.request_repaint();
}
@@ -322,7 +322,7 @@ fn persist_brushes(app: &mut PhotocraftApp) {
};
app.prefs_rt.tool_brushes = Some((owner, brushes.clone()));
if app.session.prefs().tool_brushes != now {
app.session.prefs.edit(|p| p.tool_brushes = now);
app.session.prefs.remember(|p| p.tool_brushes = now);
}
}