mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
Update crates/egui/src/ui.rs
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
@@ -2323,6 +2323,7 @@ impl Ui {
|
|||||||
impl Deref for Ui {
|
impl Deref for Ui {
|
||||||
type Target = Context;
|
type Target = Context;
|
||||||
|
|
||||||
|
#[inline]
|
||||||
fn deref(&self) -> &Self::Target {
|
fn deref(&self) -> &Self::Target {
|
||||||
self.ctx()
|
self.ctx()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user