We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A shortcut for this:
Observable.generate(emitter -> { scene.getAccelerators().put(new KeyCharacterCombination("c"), () -> emitter.onNext(true)); });
The text was updated successfully, but these errors were encountered:
Can you put in a PR, thanks!
Sorry, something went wrong.
What kind of shortcut do you want to see as result? val keyCharObservable = eventsOf(scene, EventType<KeyCharacterCombination, "c">)?
val keyCharObservable = eventsOf(scene, EventType<KeyCharacterCombination, "c">)
@rcd27
Since the signature is:
public ObservableMap<KeyCombination,Runnable> getAccelerators()
so maybe something like this:
val keyCharObservable = withAccelerator(scene, new KeyCharacterCombination("c"))
@thomasnield I think I'm able to do that
No branches or pull requests
A shortcut for this:
The text was updated successfully, but these errors were encountered: