Paintroid-802: Add clear button to clipboard tool#152
Open
jShubh-AD wants to merge 2 commits intoCatrobat:developfrom
Open
Paintroid-802: Add clear button to clipboard tool#152jShubh-AD wants to merge 2 commits intoCatrobat:developfrom
jShubh-AD wants to merge 2 commits intoCatrobat:developfrom
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.
This PR adds a Clear Clipboard action to the Clipboard tool options.
Users can now clear copied clipboard content directly from the toolbar.
The update also improves the clipboard UI by adding labeled action chips with horizontal scrolling for better usability.
New Features and Enhancements
Refactor and Bug Fixes
chipIconnow supports Widget type instead of Icon inCustomActionChip.onPressedis now nullable to support disable states.Tests
clipboard_tool_testnow finds CustomActionChip with text (e.g. 'Copy', 'Paste').clipboard_tool_test.Demo
Current behavior
paitroid_current_behavior.mp4
Expected behavior
paitroid_expected_behavior.mp4
Checklist
Your checklist for this pull request
Please review the contributing guidelines and wiki pages of this repository.