Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1729·PixiEditor

[FEATURE]: Make pressing "delete" key on a layer with content delete the content not the layer, unless there is no content.

Author: DevSimkoCreated Sep 24, 2026Updated Sep 25, 2026
Labelsenhancement

Feature Description

Pressing the delete key currently deletes the current layer. I suggest having it so that pressing the delete key will remove all content the layer has, and if it has no content then the original functionality of deleting the layer will happen should you press key delete again. Might want to also include a modal popup with something along the lines of "Do really want to delete the current layer?".

Steps how to use this feature

bash
1. Draw something on a layer
2. Press delete keyboard button
3. It completely clears the layer leaving you with a blank layer
4. Press delete key again
5. It will ask you if you want to delete the current layer
6. Pressing Enter key in the modal popup should delete the layer for the sake of UX
...

Code of Conduct

  • I agree to follow this project's Code of Conduct

Source: PixiEditor/PixiEditor

View original on GitHubView discussion on GitHub