[Search in Workspace] Deselecting not working properly
andydandy74 opened this issue · 1 comments
Adding the desired node to the selection for zooming using AddToSelectionCommand.Execute()
works well, but apparently neither Deselect()
nor IsSelected = false
will remove it again from the selection. Therefore only the first zoom is executed on a single node. Each time we click on another button we add one more node to our selection which results in only the first zoom operation being truly successful.
@Racel @mjkkirschner @kronz I tried to follow Racel's recharge example but what happens with the selection is basically what I described in yesterday's call.
Item selection is not necessary any more, using node coordinates for zooming now. Still would be good to know if there's a proper way for selecting / deselcting items programmatically, though.