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

Improvements to the properties panel to close multiple issues #466

Merged
merged 2 commits into from
Jun 13, 2023

Conversation

kephale
Copy link
Member

@kephale kephale commented Jun 13, 2023

Closes #175
Closes #439

@kephale kephale changed the title Add notes on how to add new properties, add Line edgeWidth property Improvements to the properties panel to close multiple issues Jun 13, 2023
@kephale kephale marked this pull request as ready for review June 13, 2023 17:26
@kephale
Copy link
Member Author

kephale commented Jun 13, 2023

Some of the other Properties panel changes are more involved, so I'd like to merge this one separately.

Copy link
Member

@ctrueden ctrueden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kephale In my view, this seems likely to be fine. I tested sciview with and without these changes, and everything seems to work pretty much the same—at least, all the bugs I found and filed today happen on both the mainline branch and this one, as far as I noticed. LGTM!

@@ -468,6 +491,10 @@ class Properties : InteractiveCommand() {
maybeRemoveInput("slicedVolumes", VolumeSelectorWidget.VolumeSelection::class.java)
}

if (node is Line){
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh good, Kotlin decided instanceofis, huh?

Concept Java Python Kotlin
referential equality == is ===
structural equality equals == ==
type equality instanceof isinstance is

@ctrueden ctrueden merged commit 0380ff2 into master Jun 13, 2023
4 checks passed
@ctrueden ctrueden deleted the properties-improvements branch June 13, 2023 22:00
@skalarproduktraum skalarproduktraum added dd-hackathon-2023 A result of the 2023 Dresden hackathon bugfix This PR contains a bugfix labels Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR contains a bugfix dd-hackathon-2023 A result of the 2023 Dresden hackathon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add decimal rounding to the parameter input fields Additional properties for subclasses of Node
3 participants