Skip to content

Commit 31e9b89

Browse files
committed
FLTK: Fix PSET display of extra pixel
1 parent 1145c84 commit 31e9b89

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-07-27 (12.22)
2+
FLTK: Fix PSET display of extra pixel
3+
14
2021-07-04 (12.22)
25
SDL: Fix Live edit when start path contains unicode characters
36

src/platform/fltk/display.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void Canvas::drawLine(int startX, int startY, int endX, int endY) {
108108
void Canvas::drawPixel(int posX, int posY) {
109109
fl_begin_offscreen(_offscreen);
110110
fl_color(_drawColor);
111-
fl_line(posX, posY, posX + 1, posY + 1);
111+
fl_point(posX, posY);
112112
fl_end_offscreen();
113113
}
114114

0 commit comments

Comments
 (0)