Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'beforecommand' and 'aftercommand' do not react to tool switches #118

Open
perludum opened this issue Jan 11, 2025 · 0 comments
Open

'beforecommand' and 'aftercommand' do not react to tool switches #118

perludum opened this issue Jan 11, 2025 · 0 comments

Comments

@perludum
Copy link

The 'beforecommand' and 'aftercommand' event listeners do not trigger when switching tools (e.g., from "Brush" to "Marquee") in Aseprite. This behavior is inconsistent because these events fire correctly for other commands, such as "Cut", "Copy", "Paste" and others.

Simple test script:

app.events:on('aftercommand',
  function(ev)
    app.alert("After Command Triggered")
end)

The 'aftercommand' event should trigger when switching tools, as it does for other commands.

Aseprite v. 1.3.10.1 on macOS Sequoia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant