Skip to content

Double tab unit centering is frame based #2531

@xezon

Description

@xezon

This needs to be changed to time based double tab.

				DEBUG_LOG(("META: select team %d",group));

				UnsignedInt now = TheGameLogic->getFrame(); // <---- bad
				if ( m_lastGroupSelTime == 0 )
				{
					m_lastGroupSelTime = now;
				}

				Bool performSelection = TRUE;

				// check for double-press to jump view
				if ( now - m_lastGroupSelTime < 20 && group == m_lastGroupSelGroup )
				{
					DEBUG_LOG(("META: DOUBLETAP select team %d",group));

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working right, typically is user facingInputMinorSeverity: Minor < Major < Critical < Blocker

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions