mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-01 07:35:02 +03:00
Terminal: Tighten the glyph rects.
This makes the cursor look a bit nicer.
This commit is contained in:
parent
e9e57c5f65
commit
135ff48bb9
Notes:
sideshowbarker
2024-07-19 16:00:46 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/135ff48bb92
@ -404,7 +404,7 @@ Rect Terminal::glyph_rect(word row, word column)
|
||||
{
|
||||
int y = row * m_line_height;
|
||||
int x = column * font().glyph_width();
|
||||
return { x + m_inset, y + m_inset, font().glyph_width(), m_line_height };
|
||||
return { x + m_inset, y + m_inset, font().glyph_width(), font().glyph_height() };
|
||||
}
|
||||
|
||||
inline Terminal::Attribute& Terminal::attribute_at(word row, word column)
|
||||
|
Loading…
Reference in New Issue
Block a user