Remove the selection rect for nodes that do not require it
This commit is contained in:
@@ -44,6 +44,10 @@ Rect2 Position2D::_edit_get_rect() const {
|
||||
return Rect2(Point2(-10, -10), Size2(20, 20));
|
||||
}
|
||||
|
||||
bool Position2D::_edit_use_rect() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
void Position2D::_notification(int p_what) {
|
||||
|
||||
switch (p_what) {
|
||||
|
||||
Reference in New Issue
Block a user