diff --git a/Sankore_3.1.pro b/Sankore_3.1.pro index 722a9f79..91996b09 100644 --- a/Sankore_3.1.pro +++ b/Sankore_3.1.pro @@ -110,7 +110,7 @@ win32 { QMAKE_CXXFLAGS_RELEASE += /Od \ /Zi QMAKE_LFLAGS_RELEASE += /DEBUG - UB_LIBRARY.path = DESTDIR + UB_LIBRARY.path = $$DESTDIR UB_I18N.path = $$DESTDIR/i18n UB_ETC.path = $$DESTDIR UB_THIRDPARTY_INTERACTIVE.path = $$DESTDIR/library diff --git a/src/desktop/UBDesktopAnnotationController.cpp b/src/desktop/UBDesktopAnnotationController.cpp index ca70f989..3af00596 100644 --- a/src/desktop/UBDesktopAnnotationController.cpp +++ b/src/desktop/UBDesktopAnnotationController.cpp @@ -855,7 +855,11 @@ void UBDesktopAnnotationController::updateMask(bool bTransparent) void UBDesktopAnnotationController::refreshMask() { if(mIsFullyTransparent - || UBDrawingController::drawingController()->stylusTool() == UBStylusTool::Selector) + || UBDrawingController::drawingController()->stylusTool() == UBStylusTool::Selector + || UBDrawingController::drawingController()->stylusTool() == UBStylusTool::Eraser + || UBDrawingController::drawingController()->stylusTool() == UBStylusTool::Pointer + || UBDrawingController::drawingController()->stylusTool() == UBStylusTool::Pen + || UBDrawingController::drawingController()->stylusTool() == UBStylusTool::Marker) { updateMask(true); }