diff options
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs index 7980992c..858d9a46 100644 --- a/src/config.rs +++ b/src/config.rs @@ -186,6 +186,7 @@ impl Alpha { self.0 = Self::clamp_to_valid_range(value); } + #[inline(always)] pub fn get(&self) -> f32 { self.0 } @@ -1093,6 +1094,7 @@ impl Config { &self.colors } + #[inline] pub fn background_opacity(&self) -> Alpha { self.background_opacity } |