Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/e05d68694998df692879a1fa335a73d013395879?style=unified&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
5 additions and
4 deletions
src/board/UBDrawingController.h
src/core/UBApplicationController.cpp
src/frameworks/UBPlatformUtils_mac.mm
@ -66,7 +66,7 @@ class UBDrawingController : public QObject
UBAbstractDrawRuler * mActiveRuler ;
void setInDestopMode ( bool mode ) {
void setInDesk topMode ( bool mode ) {
mIsDesktopMode = mode ;
}
@ -371,6 +371,7 @@ void UBApplicationController::showBoard()
mIsShowingDesktop = false ;
UBPlatformUtils : : setDesktopMode ( false ) ;
UBDrawingController : : drawingController ( ) - > setInDesktopMode ( false ) ;
mUninoteController - > hideWindow ( ) ;
@ -473,7 +474,7 @@ void UBApplicationController::showDesktop(bool dontSwitchFrontProcess)
UBPlatformUtils : : bringPreviousProcessToFront ( ) ;
}
UBDrawingController : : drawingController ( ) - > setInDestopMode ( true ) ;
UBDrawingController : : drawingController ( ) - > setInDesk topMode ( true ) ;
UBDrawingController : : drawingController ( ) - > setStylusTool ( UBStylusTool : : Selector ) ;
}
@ -90,10 +90,10 @@ void UBPlatformUtils::setDesktopMode(bool desktop)
@try {
// temporarily disabled due to bug: when switching to desktop mode (and calling this),
// openboard switches right back to the board mode. clicking again on desktop mode works.
/* if (desktop) {
if (desktop) {
[NSApp setPresentationOptions:NSApplicationPresentationAutoHideMenuBar | NSApplicationPresentationAutoHideDock];
}
else*/
else
[NSApp setPresentationOptions:NSApplicationPresentationHideMenuBar | NSApplicationPresentationHideDock];
}