Skip to content

Commit

Permalink
fix fill not updating canvas in vieweditor
Browse files Browse the repository at this point in the history
  • Loading branch information
cromerc committed Apr 19, 2020
1 parent d3aa8a5 commit 52a4b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viewedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1838,8 +1838,8 @@ void Canvas::UpdateCel(int x,int y){

if(xn>=0&&xn<cur_w && yn>=0&&yn<cur_h){

QPainter p(&pixmap);
if(viewedit->drawing_mode == V_DRAW){
QPainter p(&pixmap);

x=xn*2*pixsize;
y=yn*pixsize;
Expand Down

0 comments on commit 52a4b3f

Please sign in to comment.