Skip to content

Commit

Permalink
change on font order
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Dec 13, 2023
1 parent 46321da commit 6faa13a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

## Unreleased

- TBD
- Fix: font order priority.
- Fix: add default values to keyboard config (#382)

## 0.0.31

Expand Down
6 changes: 3 additions & 3 deletions sugarloaf/src/font/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ pub const FONT_ID_ITALIC: usize = 1;
pub const FONT_ID_BOLD: usize = 2;
pub const FONT_ID_BOLD_ITALIC: usize = 3;
pub const FONT_ID_SYMBOL: usize = 4;
pub const FONT_ID_UNICODE: usize = 5;
pub const FONT_ID_EMOJIS: usize = 5;
pub const FONT_ID_BUILTIN: usize = 6;
pub const FONT_ID_EMOJIS: usize = 7;
pub const FONT_ID_ICONS: usize = 8;
pub const FONT_ID_ICONS: usize = 7;
pub const FONT_ID_UNICODE: usize = 8;
// After 8 is extra fonts

use crate::font::constants::*;
Expand Down

0 comments on commit 6faa13a

Please sign in to comment.