move creation functions into the structs they are creating and unify user and system events
This commit is contained in:
1 parent
a4a9aa5224
commit
d90c71c508
8 files changed
+110
-319
No files matched your search
@@ -301,6 +301,11 @@ impl ScopeContext {
|
||||
pub fn generation(&self) -> usize {
|
||||
self.render_count.get()
|
||||
}
|
||||
|
||||
/// Get the height of this scope
|
||||
pub fn height(&self) -> u32 {
|
||||
self.height
|
||||
}
|
||||
}
|
||||
|
||||
impl Drop for ScopeContext {
|
||||
|
||||
Reference in new issue
Block a user