Kaydet (Commit) b3eb3ef7 authored tarafından Sumit Chauhan's avatar Sumit Chauhan Kaydeden (comit) Heiko Tietze

tdf#121638 , Different angle shown between sidebar & size and position dialog

Bug solved , Changed the nTmp = 360+nTmp ,if nTmp <0.

Change-Id: I855e634540c55ab91e8bbe5824014d304d87c8e9
Reviewed-on: https://gerrit.libreoffice.org/65211
Tested-by: Jenkins
Reviewed-by: 's avatarHeiko Tietze <tietze.heiko@gmail.com>
(cherry picked from commit 294c3822)
Reviewed-on: https://gerrit.libreoffice.org/65224Tested-by: 's avatarXisco Faulí <xiscofauli@libreoffice.org>
üst 3efc0b2f
......@@ -682,6 +682,7 @@ void PosSizePropertyPanel::NotifyItemUpdate(
if(pItem)
{
long nTmp = pItem->GetValue();
nTmp = nTmp < 0 ? 36000+nTmp : nTmp;
mpMtrAngle->SetValue( nTmp );
mpDial->SetRotation( nTmp );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment