aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/sample_player_editor_plugin.cpp
diff options
context:
space:
mode:
authorSergey Pusnei2017-03-29 11:29:38 -0400
committerRémi Verschelde2017-04-10 08:27:34 +0200
commit8589ca390373ae2e84d93b4a75640277e38e9780 (patch)
tree4c66a5b3927649c737b631c05ed88e866455e566 /editor/plugins/sample_player_editor_plugin.cpp
parent1c480698ce0e881cbd28f1f0ddba95cee74ca834 (diff)
downloadgodot-8589ca390373ae2e84d93b4a75640277e38e9780.tar.gz
godot-8589ca390373ae2e84d93b4a75640277e38e9780.tar.zst
godot-8589ca390373ae2e84d93b4a75640277e38e9780.zip
Diffstat (limited to 'editor/plugins/sample_player_editor_plugin.cpp')
-rw-r--r--editor/plugins/sample_player_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/sample_player_editor_plugin.cpp b/editor/plugins/sample_player_editor_plugin.cpp
index 944f41637..25f1fe9e1 100644
--- a/editor/plugins/sample_player_editor_plugin.cpp
+++ b/editor/plugins/sample_player_editor_plugin.cpp
@@ -118,7 +118,7 @@ SamplePlayerEditor::SamplePlayerEditor() {
play = memnew( Button );
- play->set_pos(Point2( 5, 5 ));
+ play->set_position(Point2( 5, 5 ));
play->set_toggle_mode(true);
play->set_anchor_and_margin(MARGIN_LEFT,Control::ANCHOR_END,250);
play->set_anchor_and_margin(MARGIN_RIGHT,Control::ANCHOR_END,230);
@@ -129,7 +129,7 @@ SamplePlayerEditor::SamplePlayerEditor() {
stop = memnew( Button );
- stop->set_pos(Point2( 35, 5 ));
+ stop->set_position(Point2( 35, 5 ));
stop->set_toggle_mode(true);
stop->set_anchor_and_margin(MARGIN_LEFT,Control::ANCHOR_END,220);
stop->set_anchor_and_margin(MARGIN_RIGHT,Control::ANCHOR_END,200);