cad-editor/assets
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 7c8271c716 fix(icon): draw every icon from the logo file
Two places still showed the old mark after the logo was redrawn.

The window icon was built by drawing the letterforms stroke by stroke in
code, background colour and all, which made it the one icon in the
application not coming from assets/logo.svg. It now rasterises that file,
fitted to the square without distorting whatever aspect the logo has. It
returns nothing when the logo cannot be rendered, so the window falls back
to the platform default instead of to something invented here -- which is
how it ended up stale in the first place.

The icon installed into the icon theme was only ever written from inside
the desktop-entry write, behind that write's own "nothing changed" early
return. The entry's text does not change when the logo does, so once it
had been written the icon was never refreshed again. The two change for
different reasons; the icon is now checked first and on its own terms. It
already compares bytes, so an unchanged logo still costs only a read.

Worth knowing on Wayland: the compositor ignores the window icon entirely
and takes the dock icon from the desktop entry, so there the installed
theme file is the only one that matters -- and it refreshes when the file
associations are next set up, not at launch.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 17:37:59 +03:00
..
fonts fix(tolerance): draw the feature control frame properly 2026-07-15 22:22:07 +03:00
icons feat(insert): add docked block palette 2026-08-06 11:02:52 +03:00
linetypes chore(assets): drop ACAD prefix from ISO names 2026-06-08 23:11:30 +03:00
mimetypes feat(thumbnails): embed DWG previews and wire cross-platform file thumbnails 2026-07-11 01:27:17 +03:00
patterns chore(assets): drop ACAD prefix from ISO names 2026-06-08 23:11:30 +03:00
plotstyles feat(plot): complete plot configuration 2026-07-31 13:41:34 +03:00
sponsors fix(web): outline sponsor logo text 2026-07-30 20:21:18 +03:00
logo.svg fix(icon): draw every icon from the logo file 2026-08-07 17:37:59 +03:00
ocad.pgp feat(view): one list of visual styles behind every way of choosing one 2026-08-07 14:15:59 +03:00