WIP: Compiling, many warnings, haven't tested

This commit is contained in:
Nathan Sobo
2023-04-12 12:54:24 -06:00
parent 25ad635577
commit b89c4e06be
4 changed files with 34 additions and 32 deletions
+1
View File
@@ -388,6 +388,7 @@ impl AsyncAppContext {
self.update_window(window_id, |cx| cx.activate_window());
}
// TODO: Can we eliminate this method and move it to WindowContext then call it with update_window?s
pub fn prompt(
&mut self,
window_id: usize,
+1 -1
View File
@@ -841,7 +841,7 @@ impl<'a: 'b, 'b> WindowContext<'a, 'b> {
self.window.platform_window.zoom();
}
pub fn toggle_window_full_screen(&self) {
pub fn toggle_full_screen(&self) {
self.window.platform_window.toggle_full_screen();
}