Repository navigation
ALI-2154: Ship the 16 and 24 px icons as PNGs (0.1.1) - #14
Merged
Merged
Conversation
The aliasOS Apps menu keeps the first SVG it finds for an icon name, and finds 16x16/ before scalable/, so it stretched the 16 px pixel-grid drawing to fill its tile. As PNGs, the small sizes are only used where a 16 or 24 px icon is asked for, and the menu takes the scalable mark. They're the same pixel-grid drawings, rendered at their own size: four colours and transparency, no anti-aliasing. install.sh installs them as .png and, over a 0.1.0 install, removes that version's SVGs at those sizes; uninstall removes both. Version 0.1.1.
ALI-2154 Ship the 16 and 24 px icons as PNGs, so the Apps menu shows the full icon (0.1.1)
In 0.1.0, the aliasOS Apps menu shows Alias Calc's 16 px pixel-grid icon stretched to fill its tile. The menu keeps the first SVG it finds for each icon name, and Done when
|
The pixel-grid SVGs are what the PNGs were rendered from (0 pixels differ). Kept in packaging/icons/src, not installed, so a change to the mark is an edit, not a redraw.
Member
Author
|
Review round 1 ran Confirmed
Fixed
Declined
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In 0.1.0, the aliasOS Apps menu shows Alias Calc's 16 px icon stretched to fill its tile. The menu keeps the first SVG it finds for each icon name, and
findlists16x16/beforescalable/. ALI-2153 fixes the menu itself. This PR fixes it from Alias Calc's side now.install.sh: installs them ashicolor/{16x16,24x24}/apps/com.aliasproject.calc.png. Installed over 0.1.0, it removes that version's.svgfiles at those sizes.uninstallremoves both kinds.Check
cargo fmt --check,clippy -D warningsandcargo test --workspace(98 + 3) pass.alias-calc --versionprintsalias-calc 0.1.1.uninstallleft 0.iconIndexScanCommand()in aliasOS) finds only one SVG namedcom.aliasproject.calc, the scalable one.After the merge
v0.1.1on the merge commit and push it.pkgver=0.1.1and_committo that commit in thealias-calcPKGBUILD.bin/repo release --package alias-calc.Linear: ALI-2154