Skip to content

Commit

Permalink
Merge pull request #471 from kas-gui/work
Browse files Browse the repository at this point in the history
Fix: allow calling fn rect() before assigning id
  • Loading branch information
dhardy authored Jan 23, 2025
2 parents e929dba + b49f864 commit 6f1f874
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/kas-macros/src/widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -705,8 +705,6 @@ pub fn impl_core_methods(name: &str, core_path: &Toks) -> Toks {
}
#[inline]
fn rect(&self) -> ::kas::geom::Rect {
#[cfg(debug_assertions)]
#core_path.status.require_rect(&#core_path._id);
#core_path._rect
}

Expand Down

0 comments on commit 6f1f874

Please sign in to comment.