WIP: Compiling, many warnings, haven't tested
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user