Skip to content

Commit 94dceee

Browse files
Changed some of the ui in the editor
I think this is way better than the row of buttons lmao
1 parent 1804a5b commit 94dceee

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/main.rs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -136,49 +136,49 @@ async fn main() {
136136
);
137137

138138
let mut editor_back_button = Button::new(
139-
|| screen_width() - 160.0,
139+
|| screen_width() - 120.0,
140140
|| 20.0,
141-
|| 150.0,
142-
|| 75.0,
141+
|| 100.0,
142+
|| 100.0,
143143
"Back",
144144
15,
145145
false
146146
);
147147

148148
let mut editor_save_button = Button::new(
149-
|| screen_width() - 160.0,
150-
|| 105.0,
151-
|| 150.0,
152-
|| 75.0,
149+
|| screen_width() - 240.0,
150+
|| 20.0,
151+
|| 100.0,
152+
|| 100.0,
153153
"Save",
154154
15,
155155
false
156156
);
157157

158158
let mut editor_options_button = Button::new(
159-
|| screen_width() - 160.0,
160-
|| 190.0,
161-
|| 150.0,
162-
|| 75.0,
159+
|| screen_width() - 120.0,
160+
|| 140.0,
161+
|| 100.0,
162+
|| 100.0,
163163
"Options",
164164
15,
165165
false
166166
);
167167

168168
let mut editor_upload_button = Button::new(
169-
|| screen_width() - 160.0,
170-
|| 275.0,
171-
|| 150.0,
172-
|| 75.0,
169+
|| screen_width() - 240.0,
170+
|| 140.0,
171+
|| 100.0,
172+
|| 100.0,
173173
"Upload",
174174
15,
175175
false
176176
);
177177

178178
let mut edit_obj_button = Button::new(
179-
|| screen_width() - 329.0,
180-
|| 20.0,
181-
|| 150.0,
179+
|| screen_width() - 240.0,
180+
|| 260.0,
181+
|| 220.0,
182182
|| 75.0,
183183
"Edit Obj",
184184
15,

0 commit comments

Comments
 (0)