Merge branch 'master' into dev

This commit is contained in:
2019-12-06 08:51:49 +01:00
12 changed files with 1689 additions and 6 deletions

View File

@@ -39,11 +39,7 @@ PaintingArea::PaintingArea(int maxWidth, int maxHeight, QWidget *parent)
#endif
}
void PaintingArea::setUp(int maxWidth, int maxHeight){
//set standart parameter
this->maxWidth = maxWidth;
this->maxHeight = maxHeight;
@@ -227,7 +223,6 @@ void PaintingArea::mousePressEvent(QMouseEvent *event)
// from the last position to the current
void PaintingArea::mouseMoveEvent(QMouseEvent *event)
{
if ((event->buttons() & Qt::LeftButton) && scribbling){
if(this->activeLayer==-1){
return;
@@ -338,4 +333,3 @@ void PaintingArea::assembleLayers(bool forSaving){
}
}
}