drawer button size
This commit is contained in:
@@ -18,7 +18,5 @@ class NekoIconButton extends Button{
|
||||
bmp.width = pWidth;
|
||||
bmp.height = pHeight;
|
||||
bmp.smoothing = true;
|
||||
traceYellow(pWidth + " / " + pHeight);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -53,7 +53,7 @@ class MainHeader extends LayoutGroup {
|
||||
layout = l;
|
||||
|
||||
// Drawer button
|
||||
drawerBtn = new NekoIconButton(Assets.getBitmapData("bitmaps/menu_white.png"), 0, 0, Std.int(headerHeight), Std.int(headerHeight));
|
||||
drawerBtn = new NekoIconButton(Assets.getBitmapData("bitmaps/menu_white.png"), 0, 0, Std.int(headerHeight * .5), Std.int(headerHeight * .5));
|
||||
drawerBtn.addEventListener(TriggerEvent.TRIGGER, onDBtnPress);
|
||||
addChild(drawerBtn);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user