From 9ececbbda8c3e1aa5abb13004b92fe3fb40a7db2 Mon Sep 17 00:00:00 2001 From: spjspj Date: Sun, 8 Jul 2018 12:59:59 +1000 Subject: [PATCH] Add in new bar chart distribution for the 'M' mana analyse button. --- Mage.Client/src/main/java/mage/client/cards/ManaBarChart.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Client/src/main/java/mage/client/cards/ManaBarChart.java b/Mage.Client/src/main/java/mage/client/cards/ManaBarChart.java index 5d547a8dc7..c7b7f39e77 100644 --- a/Mage.Client/src/main/java/mage/client/cards/ManaBarChart.java +++ b/Mage.Client/src/main/java/mage/client/cards/ManaBarChart.java @@ -120,7 +120,7 @@ public class ManaBarChart extends JComponent { if (color.equalsIgnoreCase("c")) { 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); } }