mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user