.52 Always center active row VS. Show prev/next pat.

Started by Saga Musix, March 17, 2009, 16:00:08

Previous topic - Next topic

Saga Musix

Full Version:
OpenMPT v1.17.02.52

Has the bug occured in previous versions? If yes, please specify version(s): (This option is optional, and doesn't need research. But in case you know...)
If "Always center active row" is disabled, the "show  prev/next pattern" option seems to be ignored...

EDIT:
Some progress: In theory, this could be fixed in CViewPattern::UpdateScrollSize, however "always center" doesn't work anymore if
if (CMainFrame::m_dwPatternSetup & PATTERN_CENTERROW) m_nMidRow = (rect.Height() - m_szHeader.cy) / (m_szCell.cy << 1);
is changed to
if (CMainFrame::m_dwPatternSetup & (PATTERN_CENTERROW | PATTERN_SHOWPREVIOUS)) m_nMidRow = (rect.Height() - m_szHeader.cy) / (m_szCell.cy << 1);

Edit: Moved to the issue tracker: http://bugs.openmpt.org/view.php?id=22
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.