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

How to prevent maximize when mouse double clicked #24

Open
joehy opened this issue Apr 2, 2021 · 1 comment
Open

How to prevent maximize when mouse double clicked #24

joehy opened this issue Apr 2, 2021 · 1 comment

Comments

@joehy
Copy link

joehy commented Apr 2, 2021

No description provided.

@joehy joehy closed this as completed Apr 2, 2021
@joehy joehy reopened this Apr 2, 2021
@goxr3plus
Copy link
Owner

goxr3plus commented Apr 4, 2021

Here is the problem ... i haven't implemented the option to disable it :)

// Maximize on double click.
node.setOnMouseClicked(m -> {
if (snap.get() && (MouseButton.PRIMARY.equals(m.getButton())) && (m.getClickCount() == 2))
maximize();
});

Can you make a pull request fixing it :) ?

duyouqian added a commit to duyouqian/FX-BorderlessScene that referenced this issue Nov 17, 2023
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

2 participants