diff options
| author | LLLL Colonq <llll@colonq> | 2024-06-13 14:26:31 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2024-06-13 14:26:31 -0400 |
| commit | a44792afb8fad5f0ff1d7e4c314f7fbc101371c5 (patch) | |
| tree | 061b30661b5c3bea01631b0bd9b9dfd6702730f6 /src/font.rs | |
| parent | 593d75fa14516119bb14762daedd6ae49e0824b1 (diff) | |
Release keys when unfocused
Diffstat (limited to 'src/font.rs')
| -rw-r--r-- | src/font.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/font.rs b/src/font.rs index 02d0a9f..d35abf0 100644 --- a/src/font.rs +++ b/src/font.rs @@ -1,9 +1,9 @@ use crate::{context, texture, shader}; -const CHAR_WIDTH: i32 = 7; -const CHAR_HEIGHT: i32 = 9; -const FONT_WIDTH: i32 = 112; -const FONT_HEIGHT: i32 = 54; +pub const CHAR_WIDTH: i32 = 7; +pub const CHAR_HEIGHT: i32 = 9; +pub const FONT_WIDTH: i32 = 112; +pub const FONT_HEIGHT: i32 = 54; pub struct Font { pub shader: shader::Shader, |
