https://github.com/loilo/repro-sketch-renamelayer
🐞 A minimal reproduction to demonstrate the RenameLayer Action failing to trigger.
https://github.com/loilo/repro-sketch-renamelayer
Last synced: 4 months ago
JSON representation
🐞 A minimal reproduction to demonstrate the RenameLayer Action failing to trigger.
- Host: GitHub
- URL: https://github.com/loilo/repro-sketch-renamelayer
- Owner: loilo
- License: mit
- Created: 2022-05-22T10:33:13.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-23T14:00:33.000Z (about 4 years ago)
- Last Synced: 2024-12-31T03:12:40.699Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Reproduction `RenameLayer`
A minimal reproduction demonstrating Sketch's [`RenameLayer`](https://developer.sketch.com/reference/action/renamelayer/) Action failing to trigger.
## Steps to Reproduce
1. Clone this repository:
```sh
git clone https://github.com/loilo/repro-sketch-renamelayer.git
```
2. Install the `reproduction-renamelayer.sketchplugin` from the cloned repository.
3. Rename a layer and notice how no UI message appears as the `RenameLayer` action is not triggered.
(For comparison, an analogous listener for the `SelectionChanged.begin` action is also registered and _should_ show a UI message on layer selection, just to make it clear that it's not the plugin that is at fault here.)