mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
Add in new bar chart distribution for the 'M' mana analyse button.
This commit is contained in:
parent
35022d4ed3
commit
9ececbbda8
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ public class ManaBarChart extends JComponent {
|
||||||
if (color.equalsIgnoreCase("c")) {
|
if (color.equalsIgnoreCase("c")) {
|
||||||
g.setColor(Color.DARK_GRAY);
|
g.setColor(Color.DARK_GRAY);
|
||||||
}
|
}
|
||||||
g.fill(new Rectangle2D.Double(cmc_num * width_factor, 200 - total_at_cmc - num_pips * height_factor, 10, num_pips * height_factor));
|
g.fill(new Rectangle2D.Double(cmc_num * width_factor, 200 - 1 - total_at_cmc - num_pips * height_factor, 10, num_pips * height_factor));
|
||||||
running_totals_at_cmcs.put(cmc_num, total_at_cmc + num_pips * height_factor);
|
running_totals_at_cmcs.put(cmc_num, total_at_cmc + num_pips * height_factor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue