1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 23:00:04 -04:00

Fix CI: #[inline], clippy, and the imageviewer snapshot

* `Frame::invisible` needs `#[inline]` like every other builder method.
* `TextVisuals::new` took a `TextStyle` by value but only borrowed it. Take
  an `impl Into<FontSelection>` instead, which consumes it and lets a theme
  hand over a `FontId` directly.
* A hovered small button now paints its border a pixel further out, since
  its padding is zeroed before the expansion correction.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lucas Meurer
2026-08-31 14:36:39 +02:00
parent 8efdcccebc
commit 5d725fab5e
3 changed files with 10 additions and 9 deletions

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24fc466f6470761a5064a590929fa3a0d95741ed691fc257415eee349bc528e9
size 101394
oid sha256:6264f32d3323d0d499ba0da9d379e562c06a7f50930dbec424039549ce7f50f9
size 101414