MCPcopy Create free account
hub / github.com/ddnet/ddnet / IsFocused

Method IsFocused

src/game/editor/map_view.cpp:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36bool CMapView::IsFocused()
37{
38 return GetWorldOffset() == (m_ProofMode.IsModeMenu() ? m_ProofMode.CurrentMenuBackgroundPosition() : vec2(0.0f, 0.0f));
39}
40
41void CMapView::Focus()
42{

Callers 1

DoToolbarLayersMethod · 0.80

Calls 2

IsModeMenuMethod · 0.80

Tested by

no test coverage detected