Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/7e324283b4e4a6974f36144925c106c5ae10075c?style=unified&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
10 additions and
2 deletions
src/domain/UBGraphicsTextItemDelegate.cpp
@ -630,7 +630,15 @@ void UBGraphicsTextItemDelegate::ChangeTextSize(qreal factor, textChangeMode cha
nextCharBrush = cursor . charFormat ( ) . foreground ( ) ;
iNextPointSize = nextCharFont . pointSize ( ) ;
if ( ( iPointSize ! = iNextPointSize ) | | ( iCursorPos + iBlockLen > = endPos ) | | ( 0 ! = curFont . family ( ) . compare ( nextCharFont . family ( ) ) ) | | ( curBrush ! = nextCharBrush ) ) {
if (
( iPointSize ! = iNextPointSize )
| | ( iCursorPos + iBlockLen > = endPos )
| | ( curFont . family ( ) . compare ( nextCharFont . family ( ) ) ! = 0 )
| | ( curFont . italic ( ) ! = nextCharFont . italic ( ) )
| | ( curFont . bold ( ) ! = nextCharFont . bold ( ) )
| | ( curFont . underline ( ) ! = nextCharFont . underline ( ) )
| | ( curBrush ! = nextCharBrush ) )
{
bEndofTheSameBlock = true ;
break ;
}
@ -647,7 +655,7 @@ void UBGraphicsTextItemDelegate::ChangeTextSize(qreal factor, textChangeMode cha
textFormat . setFont ( tmpFont ) ;
textFormat . setForeground ( curBrush ) ;
cursor . setPosition ( iCursorPos + iBlockLen , QTextCursor : : KeepAnchor ) ;
cursor . set CharFormat( textFormat ) ;
cursor . merge CharFormat( textFormat ) ;
iCursorPos + = iBlockLen ;
cursor . setPosition ( iCursorPos , QTextCursor : : MoveAnchor ) ;