Add debug-widget-callstack and debug-interactive-widgets features

- they need to be separate, both on at once is too much

    --features debug-widget-callstack
      Show callstack for the current widget on hover if all modifier keys
      are pressed down

    --features debug-interactive-widgets
      Show an overlay on all interactive widgets

    Notes:
    - debug-widget-callstack asserts `egui:callstack` feature when enabled
    - Only works in debug builds, compile error w/ release builds
This commit is contained in:
Ken Sedgwick
2024-12-19 14:22:30 -08:00
parent eeab1666e7
commit 2d7de8fdc0
3 changed files with 22 additions and 2 deletions

1
Cargo.lock generated
View File

@@ -1050,6 +1050,7 @@ checksum = "53eafabcce0cb2325a59a98736efe0bf060585b437763f8c476957fb274bb974"
dependencies = [
"accesskit",
"ahash",
"backtrace",
"emath",
"epaint",
"log",