fix(common): adjust z indexes
This commit is contained in:
@@ -57,7 +57,7 @@ onRender((ctx) => {
|
|||||||
BAR_WIDTH,
|
BAR_WIDTH,
|
||||||
BAR_HEIGHT,
|
BAR_HEIGHT,
|
||||||
);
|
);
|
||||||
});
|
}, 50);
|
||||||
|
|
||||||
defineOptions({
|
defineOptions({
|
||||||
render: () => null,
|
render: () => null,
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ onRender((ctx) => {
|
|||||||
CORNER_SIZE,
|
CORNER_SIZE,
|
||||||
);
|
);
|
||||||
ctx.restore();
|
ctx.restore();
|
||||||
});
|
}, 40);
|
||||||
|
|
||||||
defineOptions({
|
defineOptions({
|
||||||
render: () => null,
|
render: () => null,
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ onRender((ctx) => {
|
|||||||
|
|
||||||
drawButton(assets.common.B, props.bLabel, 31, 5);
|
drawButton(assets.common.B, props.bLabel, 31, 5);
|
||||||
drawButton(assets.common.A, props.aLabel, 144, 0);
|
drawButton(assets.common.A, props.aLabel, 144, 0);
|
||||||
});
|
}, 60);
|
||||||
|
|
||||||
onClick((x, y) => {
|
onClick((x, y) => {
|
||||||
if (props.yOffset !== 0) return;
|
if (props.yOffset !== 0) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user