SonyWWS / ATF

Authoring Tools Framework (ATF) is a set of C#/.NET components for making tools on Windows. ATF has been in continuous development in Sony Computer Entertainment's (SCE) Worldwide Studios central tools group since early 2005. ATF has been used by most SCE first party studios to make many custom tools such as Naughty Dog’s level editor and shader editor for The Last of Us, Guerrilla Games’ sequence editor for Killzone games (including the Killzone: Shadow Fall PS4 launch title), an animation blending tool at Santa Monica Studio, a level editor at Bend Studio, a visual state machine editor for Quantic Dream, sound editing tools, and many others.
Apache License 2.0
1.89k stars 262 forks source link

CircuitEditor: Selecting nodes with no name is a bit off #21

Closed vkashkash closed 10 years ago

vkashkash commented 10 years ago

Hello,

When trying to select a node, I notice the selection is a bit off when moving the mouse from below. I think this issue is caused by the use of LabelHeight in GetBounds. Using the label height is fine in the case of a named node; however, I think nodes with no name should not use this to calculate bounds (or at least have the option to ignore label height when there is no name). What do you guys think?

Thanks.

jhshen commented 10 years ago

Good catch! Will be fixed.

jhshen commented 10 years ago

A fix has been checked in

vkashkash commented 10 years ago

I have integrated the fix. Thanks.