mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Fix typos
This commit is contained in:
@@ -1169,7 +1169,7 @@ mod glow_integration {
|
||||
builder,
|
||||
viewport_ui_cb,
|
||||
commands,
|
||||
repaint_delay: _, // ignored - we listend to the repaint callback instead
|
||||
repaint_delay: _, // ignored - we listened to the repaint callback instead
|
||||
},
|
||||
) in viewport_output
|
||||
{
|
||||
@@ -2679,7 +2679,7 @@ mod wgpu_integration {
|
||||
builder,
|
||||
viewport_ui_cb,
|
||||
commands,
|
||||
repaint_delay: _, // ignored - we listend to the repaint callback instead
|
||||
repaint_delay: _, // ignored - we listened to the repaint callback instead
|
||||
},
|
||||
) in viewport_output
|
||||
{
|
||||
|
||||
@@ -2509,13 +2509,13 @@ impl Context {
|
||||
/// For integrations: Set this to render a sync viewport.
|
||||
///
|
||||
/// This will only be set the callback for the current thread,
|
||||
/// which mosty likely should be the main thread.
|
||||
/// which most likely should be the main thread.
|
||||
///
|
||||
/// When an immediate viewport is created with [`Self::show_viewport_immediate`] it will be rendered by this function.
|
||||
///
|
||||
/// When called, the integration need to:
|
||||
/// * Check if there already is a window for this viewport id, and if not open one
|
||||
/// * Set the window attributes (postion, size, …) based on [`ImmediateViewport::builder`].
|
||||
/// * Set the window attributes (position, size, …) based on [`ImmediateViewport::builder`].
|
||||
/// * Call [`Context::run`] with [`ImmediateViewport::viewport_ui_cb`].
|
||||
/// * Handle the output from [`Context::run`], including rendering
|
||||
#[allow(clippy::unused_self)]
|
||||
|
||||
Reference in New Issue
Block a user