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

Set given color as initial color in gtk color picker #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ttytm
Copy link

@ttytm ttytm commented Oct 6, 2023

  • Sets the given color as initial color. Keeps the given value if the users doesn't change the color dialog. gtk2 Example when passing an initial color of r: 200,g: 255, b: 255, a: 100:

    Currently it's always:
    Screenshot_20231006_182452
    When the user chooses okay, the color r: 255, g: 255, b: 255, a: 255 is returned, no matter the initial input.

    Now, it opens with the values that are passed initially:
    Screenshot_20231006_182514
    and keeps them when confirming the dialog without further changes.

    This would resemble the behavior of the color picker windows.

@ttytm ttytm force-pushed the fix/gtk-color-sel branch from 4145d19 to 3f6ba7c Compare October 6, 2023 17:05
@ttytm
Copy link
Author

ttytm commented Oct 17, 2024

@AndrewBelt if you find a free moment and it's not too much of a hassle, can you verify the fix for opening the dialog with gtk?

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

Successfully merging this pull request may close these issues.

1 participant