Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting https://git.osmesh.ru/MOS/OpenBoard/commit/e5b4de90132ed61202126b7b093b03c6a3143ccc?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
5 additions and
2 deletions
src/board/UBBoardController.cpp
src/board/UBBoardPaletteManager.cpp
src/gui/UBZoomPalette.h
@ -1688,8 +1688,10 @@ void UBBoardController::boardViewResized(QResizeEvent* event)
mControlView - > centerOn ( 0 , 0 ) ;
mControlView - > centerOn ( 0 , 0 ) ;
if ( mDisplayView )
if ( mDisplayView ) {
UBApplication : : applicationController - > adjustDisplayView ( ) ;
mDisplayView - > centerOn ( 0 , 0 ) ;
mDisplayView - > centerOn ( 0 , 0 ) ;
}
mPaletteManager - > containerResized ( ) ;
mPaletteManager - > containerResized ( ) ;
@ -497,6 +497,7 @@ void UBBoardPaletteManager::containerResized()
mZoomPalette - > move ( userLeft + userWidth - mZoomPalette - > width ( )
mZoomPalette - > move ( userLeft + userWidth - mZoomPalette - > width ( )
, userTop + userHeight /*- mPageNumberPalette->height()*/ - innerMargin - mZoomPalette - > height ( ) ) ;
, userTop + userHeight /*- mPageNumberPalette->height()*/ - innerMargin - mZoomPalette - > height ( ) ) ;
mZoomPalette - > adjustSizeAndPosition ( ) ;
mZoomPalette - > adjustSizeAndPosition ( ) ;
mZoomPalette - > refreshPalette ( ) ;
}
}
if ( isFirstResized & & mKeyboardPalette & & mKeyboardPalette - > parent ( ) = = UBApplication : : boardController - > controlContainer ( ) )
if ( isFirstResized & & mKeyboardPalette & & mKeyboardPalette - > parent ( ) = = UBApplication : : boardController - > controlContainer ( ) )
@ -45,6 +45,7 @@ class UBZoomPalette : public UBFloatingPalette
public slots :
public slots :
void hide ( ) ;
void hide ( ) ;
void refreshPalette ( ) ;
private :
private :
UBBoardController * mBoardController ;
UBBoardController * mBoardController ;
@ -55,7 +56,6 @@ class UBZoomPalette : public UBFloatingPalette
bool mIsExpanded ;
bool mIsExpanded ;
private slots :
private slots :
void refreshPalette ( ) ;
void showHideExtraButton ( ) ;
void showHideExtraButton ( ) ;
void goHundred ( ) ;
void goHundred ( ) ;