drawer button size
This commit is contained in:
1 parent
daa208a2fa
commit
28c36c699a
2 files changed
+1
-3
No files matched your search
@@ -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