fix fill not updating canvas in vieweditor

This commit is contained in:
Chris Cromer 2020-04-19 14:17:17 -04:00
parent d3aa8a559e
commit 52a4b3fe32
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A

View File

@ -1838,8 +1838,8 @@ void Canvas::UpdateCel(int x,int y){
if(xn>=0&&xn<cur_w && yn>=0&&yn<cur_h){ if(xn>=0&&xn<cur_w && yn>=0&&yn<cur_h){
QPainter p(&pixmap);
if(viewedit->drawing_mode == V_DRAW){ if(viewedit->drawing_mode == V_DRAW){
QPainter p(&pixmap);
x=xn*2*pixsize; x=xn*2*pixsize;
y=yn*pixsize; y=yn*pixsize;