You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Fixed cursor not updating in some circumstances, closes #19430
This commit is contained in:
@@ -624,6 +624,7 @@ public:
|
|||||||
void AnimationTimelineEdit::_zoom_changed(double) {
|
void AnimationTimelineEdit::_zoom_changed(double) {
|
||||||
|
|
||||||
update();
|
update();
|
||||||
|
play_position->update();
|
||||||
emit_signal("zoom_changed");
|
emit_signal("zoom_changed");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1607,6 +1608,7 @@ void AnimationTrackEdit::set_undo_redo(UndoRedo *p_undo_redo) {
|
|||||||
void AnimationTrackEdit::set_timeline(AnimationTimelineEdit *p_timeline) {
|
void AnimationTrackEdit::set_timeline(AnimationTimelineEdit *p_timeline) {
|
||||||
timeline = p_timeline;
|
timeline = p_timeline;
|
||||||
timeline->connect("zoom_changed", this, "_zoom_changed");
|
timeline->connect("zoom_changed", this, "_zoom_changed");
|
||||||
|
timeline->connect("name_limit_changed", this, "_zoom_changed");
|
||||||
}
|
}
|
||||||
void AnimationTrackEdit::set_editor(AnimationTrackEditor *p_editor) {
|
void AnimationTrackEdit::set_editor(AnimationTrackEditor *p_editor) {
|
||||||
editor = p_editor;
|
editor = p_editor;
|
||||||
@@ -1643,6 +1645,7 @@ void AnimationTrackEdit::set_root(Node *p_root) {
|
|||||||
}
|
}
|
||||||
void AnimationTrackEdit::_zoom_changed() {
|
void AnimationTrackEdit::_zoom_changed() {
|
||||||
update();
|
update();
|
||||||
|
play_position->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationTrackEdit::_path_entered(const String &p_text) {
|
void AnimationTrackEdit::_path_entered(const String &p_text) {
|
||||||
@@ -2381,6 +2384,7 @@ Size2 AnimationTrackEditGroup::get_minimum_size() const {
|
|||||||
void AnimationTrackEditGroup::set_timeline(AnimationTimelineEdit *p_timeline) {
|
void AnimationTrackEditGroup::set_timeline(AnimationTimelineEdit *p_timeline) {
|
||||||
timeline = p_timeline;
|
timeline = p_timeline;
|
||||||
timeline->connect("zoom_changed", this, "_zoom_changed");
|
timeline->connect("zoom_changed", this, "_zoom_changed");
|
||||||
|
timeline->connect("name_limit_changed", this, "_zoom_changed");
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationTrackEditGroup::set_root(Node *p_root) {
|
void AnimationTrackEditGroup::set_root(Node *p_root) {
|
||||||
|
|||||||
Reference in New Issue
Block a user