ConnectedLivingSpace

ConnectedLivingSpace

8.1k Downloads

Handle mouseout events to fix highlighting issues

codepoetpbowden opened this issue ยท 1 comments

commented

@codepoet,

I've found a behavior I'd like to tweak.

highlighting is hit or miss when you mouse over parts highlighted by CLS. Crew Manifest currently exhibits this behavior as well. I had the exact same issue in Ship Manifest, early in development. I solved it using a delegate function attached to the affected part's mouse out event.

This allows proper mouse behavior until you leave the part, and reverts the part to your desired highlighting. Very clean. Just remove the delegate function when you hide the control window or change the space(s) selected.

Also, I'd like to be able to control the colors for part types. I'm thinking static properties would due nicely.

Thoughts?

commented

Added this.