mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-166059 Corrupted zero latency typing with the new hidpi - preserve caret consistency
This commit is contained in:
@@ -167,7 +167,8 @@ class ImmediatePainter {
|
||||
fillRect(graphics, rectangle2, attributes2.getBackgroundColor());
|
||||
drawChar(graphics, c2, p2x, p2y + ascent, font2, attributes2.getForegroundColor());
|
||||
|
||||
fillRect(graphics, caretRectangle, getCaretColor(editor));
|
||||
graphics.setColor(getCaretColor(editor));
|
||||
graphics.fillRect(caretRectangle.x, caretRectangle.y, caretRectangle.width, caretRectangle.height);
|
||||
|
||||
fillRect(graphics, rectangle1, attributes1.getBackgroundColor());
|
||||
drawChar(graphics, c1, p2x - width1, p2y + ascent, font1, attributes1.getForegroundColor());
|
||||
|
||||
Reference in New Issue
Block a user