Repository navigation
fix(ui): draw Desktop's system close and done in the time suggestions editor - #1195
Merged
Merged
Conversation
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.
Desktop's
TimeSuggestionsPreferencedraws the remove button of a phrase with the systemcloseat 14 (be name="close" width: 14, js:122326), and the Save and Cancel of a new phrase with the systemdoneandcloseat 16 (js:122358, 122365). beeper-rs drew the round Materialcloseglyph (14 and 16) and the round Materialcheckglyph (16).Now: the system
close(ROW_ACTIONS[6]) anddone(COPIED_ICON) paths. Measured: remove 7.88 (round glyph 7.63), Save 10.6 by 7.69 (11.09 by 8.26), Cancel 9.13 (8.72); Desktop's paths are 8.17, 10.87 by 8.02 and 9.33 before the antialiasing of their pointed tips.Test:
time_suggestions::tests::suggestion_buttons_draw_desktops_icons(fails on main).fuzz::time_suggestions_editor_like_desktopfound the remove button by the close glyph's text; it now finds it by its focus target ID. Checked on wgpu (lavapipe) and tiny-skia.🤖 Generated with Claude Code