Author Topic: .52 Always center active row VS. Show prev/next pat.  (Read 2444 times)

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 7,107
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
.52 Always center active row VS. Show prev/next pat.
« on: March 17, 2009, 16:00:08 »
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...

Some progress: In theory, this could be fixed in CViewPattern::UpdateScrollSize, however "always center" doesn't work anymore if
Code: [Select]
if (CMainFrame::m_dwPatternSetup & PATTERN_CENTERROW) m_nMidRow = (rect.Height() - / ( << 1);is changed to
Code: [Select]
if (CMainFrame::m_dwPatternSetup & (PATTERN_CENTERROW | PATTERN_SHOWPREVIOUS)) m_nMidRow = (rect.Height() - / ( << 1);
Edit: Moved to the issue tracker:
« Last Edit: November 06, 2010, 12:21:45 by Jojo »
ยป 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.