Re-enable most of the functionalities in editor2

This commit is contained in:
Antonio Scandurra 2023-11-08 11:30:32 +01:00
parent d67581875f
commit 8ac8a6f1d9
9 changed files with 4146 additions and 4032 deletions

View file

@ -608,6 +608,10 @@ impl<'a> WindowContext<'a> {
.find(|display| display.id() == self.window.display_id)
}
pub fn show_character_palette(&self) {
self.window.platform_window.show_character_palette();
}
/// The scale factor of the display associated with the window. For example, it could
/// return 2.0 for a "retina" display, indicating that each logical pixel should actually
/// be rendered as two pixels on screen.