Skip to content

Commit cd1d300

Browse files
Added an upload button with no functionality
it has no functionality
1 parent 6505310 commit cd1d300

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/main.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,16 @@ async fn main() {
162162
false
163163
);
164164

165+
let mut editor_upload_button = Button::new(
166+
|| screen_width() - 160.0,
167+
|| 275.0,
168+
|| 150.0,
169+
|| 75.0,
170+
"Upload",
171+
15,
172+
false
173+
);
174+
165175
let mut editor_playtest_button = Button::new(
166176
|| 20.0,
167177
|| screen_height() / 2.0 - 65.0,
@@ -861,6 +871,7 @@ async fn main() {
861871
editor_back_button.update(delta_time);
862872
editor_save_button.update(delta_time);
863873
editor_options_button.update(delta_time);
874+
editor_upload_button.update(delta_time);
864875
build_tab_button.update(delta_time);
865876
edit_tab_button.update(delta_time);
866877
editor_playtest_button.update(delta_time);
@@ -1767,6 +1778,7 @@ async fn main() {
17671778
editor_back_button.draw(false, None, 1.0, false, &font);
17681779
editor_save_button.draw(false, None, 1.0, false, &font);
17691780
editor_options_button.draw(false, None, 1.0, false, &font);
1781+
editor_upload_button.draw(false, None, 1.0, false, &font);
17701782
build_tab_button.draw(false, None, 1.0, false, &font);
17711783
edit_tab_button.draw(false, None, 1.0, false, &font);
17721784
editor_playtest_button.draw(false, None, 1.0, false, &font);

0 commit comments

Comments
 (0)