mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 10:12:25 -05:00
c1ede97543
Previously we would loop over all glyphs in the GlyphMap, compute their rects, and then test to see if the mouse click position was inside that rect. This is silly since each element in the glyph map for a particular font is the same size, and we can just do some coordinate manipulation to get the index directly. |
||
---|---|---|
.. | ||
.gitignore | ||
CMakeLists.txt | ||
FontEditor.cpp | ||
FontEditor.h | ||
FontEditorWindow.gml | ||
GlyphEditorWidget.cpp | ||
GlyphEditorWidget.h | ||
GlyphMapWidget.cpp | ||
GlyphMapWidget.h | ||
main.cpp | ||
NewFontDialog.cpp | ||
NewFontDialog.h | ||
NewFontDialogPage1.gml | ||
NewFontDialogPage2.gml | ||
UndoGlyph.h |