Mercurial > hg > svgui
comparison view/View.cpp @ 363:6167a28d25fc sv1-v1.2pre3
* line up overview widget nicely with main pane (at least on first startup)
* fix #1878396 renaming layer seems to have no visible effect
* comment out some debug output
author | Chris Cannam |
---|---|
date | Wed, 06 Feb 2008 17:40:53 +0000 |
parents | a9dfa2d6d5ac |
children | f1e6204c1f17 |
comparison
equal
deleted
inserted
replaced
362:a9dfa2d6d5ac | 363:6167a28d25fc |
---|---|
890 void | 890 void |
891 View::globalCentreFrameChanged(unsigned long rf) | 891 View::globalCentreFrameChanged(unsigned long rf) |
892 { | 892 { |
893 if (m_followPan) { | 893 if (m_followPan) { |
894 size_t f = alignFromReference(rf); | 894 size_t f = alignFromReference(rf); |
895 #ifdef DEBUG_VIEW_WIDGET_PAINT | |
895 std::cerr << "View[" << this << "]::globalCentreFrameChanged(" << rf | 896 std::cerr << "View[" << this << "]::globalCentreFrameChanged(" << rf |
896 << "): setting centre frame to " << f << std::endl; | 897 << "): setting centre frame to " << f << std::endl; |
898 #endif | |
897 setCentreFrame(f, false); | 899 setCentreFrame(f, false); |
898 } | 900 } |
899 } | 901 } |
900 | 902 |
901 void | 903 void |