Skip to content
New issue

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

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

Already on GitHub? # to your account

RectangularPaletteControl has 'open' function but not declared is 'open' #45

Open
iChezee opened this issue Apr 27, 2024 · 0 comments
Open

Comments

@iChezee
Copy link

iChezee commented Apr 27, 2024

Discussion: RectangularPaletteControl has 'open func setHue(horizontalAxis: Bool, updateImage: Bool)' but not declared as 'open' itself. So you cannot inherit from RectangularPaletteControl directly and you need to reimplement it's behaviour using ColorPaletteControl. If I will just copy-paste it's code there other things that is closed to override too. Or, for example, I want too use RectangularPaletteControl but override some open functions from ColorPaletteControl I cannot do that.

Suggestion: Make RectangularPaletteControl 'open' to inherit too.

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

No branches or pull requests

1 participant