fix NewFrame doc alias

This commit is contained in:
Victor Mororó 2024-09-17 23:22:47 -03:00 committed by Jonathan Spira
parent 67f7f11363
commit 8e3da3ba15

View File

@ -539,7 +539,7 @@ impl Context {
}
/// Starts a new frame and returns an `Ui` instance for constructing a user interface.
#[doc(alias = "NewFame")]
#[doc(alias = "NewFrame")]
pub fn new_frame(&mut self) -> &mut Ui {
// Clear default font if it no longer exists. This could be an error in the future
let default_font = self.io().font_default;