1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:17:44 +00:00

LibVT: Don't cache bold variant of VT font in a member variable

Remove some leftovers from back when we had to resolve a bold variant
of the terminal font manually. Now we can just use bold_variant().
This commit is contained in:
Andreas Kling 2021-05-22 10:19:42 +02:00
parent 636c43db6c
commit ee5cf92b3d
2 changed files with 4 additions and 13 deletions

View file

@ -39,8 +39,6 @@ public:
void apply_size_increments_to_window(GUI::Window&);
const Gfx::Font& bold_font() const { return *m_bold_font; }
void set_opacity(u8);
float opacity() { return m_opacity; };
@ -175,8 +173,6 @@ private:
bool m_cursor_blink_state { true };
bool m_automatic_size_policy { false };
RefPtr<Gfx::Font> m_bold_font;
enum class AutoScrollDirection {
None,
Up,