|
From: Tapio V. <aa...@us...> - 2010-08-21 18:04:09
|
Module: performous
Branch: master
Commit: 42ea1b7aea14a9b0ebf6a40b95e4548c7e308a35
Author: Tapio Vierros <tap...@gm...>
Date: Tue Aug 3 17:04:44 2010 +0300
Fix dance menu margins, since it doesn't (yet?) have icons.
---
game/instrumentgraph.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/game/instrumentgraph.cc b/game/instrumentgraph.cc
index b5afc91..399f579 100644
--- a/game/instrumentgraph.cc
+++ b/game/instrumentgraph.cc
@@ -66,7 +66,7 @@ void InstrumentGraph::drawMenu() {
double w = m_menu.dimensions.w();
const double offsetX = 0.5f * (dimensions.x1() + dimensions.x2());
const float txth = th.option.h();
- const float button_margin = 0.05f;
+ const float button_margin = (getGraphType() == input::DANCEPAD ? 0.0f : 0.05f);
const float step = txth * 0.7f;
const float h = m_menu.getOptions().size() * step + step;
float y = -h * .5f + step;
|