View Issue Details

IDProjectCategoryView StatusLast Update
0000022OpenMPTUser Interfacepublic2010-11-06 12:21
ReporterSaga Musix Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Target VersionOpenMPT 1.18.03.00 (upgrade first) 
Summary0000022: "Always center active row" vs. "Show prev/next pattern"
Description

If "Always center active row" is disabled, the "show prev/next pattern" option is ignored.

Additional Information

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);

TagsNo tags attached.
Has the bug occurred in previous versions?Yes, all of them.
Tested code revision (in case you know it)

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2010-11-06 12:20 Saga Musix New Issue
2010-11-06 12:21 Saga Musix Status new => confirmed
2010-11-06 12:21 Saga Musix Additional Information Updated View Revisions