1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 22:00:03 -04:00

Rename Marginf to MarginF32 for consistency with CornerRadiusF32 (#5677)

* [x] I have followed the instructions in the PR template
This commit is contained in:
lucasmerlin
2025-02-11 11:23:59 +01:00
committed by GitHub
parent 1c6e7b1bd0
commit 510b3cdf48
6 changed files with 56 additions and 52 deletions

View File

@@ -9,7 +9,7 @@ use emath::{vec2, Rect, Vec2};
/// Use with care.
///
/// All values are stored as [`i8`] to keep the size of [`Margin`] small.
/// If you want floats, use [`crate::Marginf`] instead.
/// If you want floats, use [`crate::MarginF32`] instead.
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
pub struct Margin {