mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Merge pull request #26867 from bojidar-bg/26816-graphnode-title
Fix cursor going to start while editing GraphNode's title
This commit is contained in:
commit
59aa79f218
@ -164,7 +164,6 @@ void GraphNode::_resort() {
|
||||
vofs += size.y;
|
||||
}
|
||||
|
||||
_change_notify();
|
||||
update();
|
||||
connpos_dirty = true;
|
||||
}
|
||||
@ -409,9 +408,12 @@ Size2 GraphNode::get_minimum_size() const {
|
||||
|
||||
void GraphNode::set_title(const String &p_title) {
|
||||
|
||||
if (title == p_title)
|
||||
return;
|
||||
title = p_title;
|
||||
minimum_size_changed();
|
||||
update();
|
||||
_change_notify("title");
|
||||
minimum_size_changed();
|
||||
}
|
||||
|
||||
String GraphNode::get_title() const {
|
||||
|
Loading…
Reference in New Issue
Block a user