[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/krita/core
From:       Adrian Page <adrian () pagenet ! plus ! com>
Date:       2005-03-25 14:02:16
Message-ID: 20050325140216.9510248F () office ! kde ! org
[Download RAW message or body]

CVS commit by page: 

Fix zoomed display bug introduced with removal of canvasX/YOffset.


  M +1 -1      kis_view.cc   1.392


--- koffice/krita/core/kis_view.cc  #1.391:1.392
@@ -815,5 +815,5 @@ void KisView::paintView(const KisRect& r
                                         gc.setViewport(0, 0, \
static_cast<Q_INT32>(m_canvasPixmap.width() * zoom()), \
static_cast<Q_INT32>(m_canvasPixmap.height() * zoom()));  }
-                                gc.translate((horzValue()) / zoom(), (vertValue()) / \
zoom()); +                                gc.translate((-horzValue()) / zoom(), \
(-vertValue()) / zoom());  
                                 m_doc -> setCurrentImage(img);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic