fix NavBar separators

This commit is contained in:
Konstantin Bulenkov
2015-01-06 22:41:20 +01:00
parent fe84346f21
commit 2f4c82ae56
@@ -127,8 +127,8 @@ public abstract class AbstractNavBarUI implements NavBarUI {
}
private BufferedImage drawToBuffer(NavBarItem item, boolean floating, boolean toolbarVisible, boolean selected, NavBarPanel navbar) {
int w = 2 * item.getWidth();
int h = 2 * item.getHeight();
int w = item.getWidth();
int h = item.getHeight();
int offset = (w - getDecorationOffset());
int h2 = h / 2;