Skip to content

Commit

Permalink
pack non-color as shorts
Browse files Browse the repository at this point in the history
ericoporto committed Apr 17, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 85edf6e commit 02aedd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fancy_demo/fancy.ash
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

// internal abstraction
managed struct FancyTextToken {
int text_begin, text_length, color, outline_color, font, type, width, height, line_height, line_width;
int color, outline_color; short text_begin, text_length, font, type, width, height, line_height, line_width;
};

managed struct FancyState {

0 comments on commit 02aedd5

Please sign in to comment.