Fix z_kaleido_scope_PAL.c L and R button color issues
This fix an issue in IF and gDPSetPrimColor for button L & R icon. making it with an else to place the on hover and normal color properly in both button so they both have exact same colour
This commit is contained in:
parent
dc3eb4d985
commit
f36f91f6d8
|
@ -1613,14 +1613,16 @@ void KaleidoScope_DrawInfoPanel(GlobalContext* globalCtx) {
|
||||||
|
|
||||||
if ((pauseCtx->cursorSpecialPos == PAUSE_CURSOR_PAGE_LEFT) && (pauseCtx->unk_1E4 == 0)) {
|
if ((pauseCtx->cursorSpecialPos == PAUSE_CURSOR_PAGE_LEFT) && (pauseCtx->unk_1E4 == 0)) {
|
||||||
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, D_808321A0, D_808321A2, D_808321A4, D_808321A6);
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, D_808321A0, D_808321A2, D_808321A4, D_808321A6);
|
||||||
|
} else {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 180, 210, 255, 220);
|
||||||
}
|
}
|
||||||
|
|
||||||
gSPDisplayList(POLY_KAL_DISP++, gLButtonIconDL);
|
gSPDisplayList(POLY_KAL_DISP++, gLButtonIconDL);
|
||||||
|
|
||||||
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 180, 210, 255, 220);
|
|
||||||
|
|
||||||
if ((pauseCtx->cursorSpecialPos == PAUSE_CURSOR_PAGE_RIGHT) && (pauseCtx->unk_1E4 == 0)) {
|
if ((pauseCtx->cursorSpecialPos == PAUSE_CURSOR_PAGE_RIGHT) && (pauseCtx->unk_1E4 == 0)) {
|
||||||
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, D_808321A0, D_808321A2, D_808321A4, D_808321A6);
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, D_808321A0, D_808321A2, D_808321A4, D_808321A6);
|
||||||
|
} else {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 180, 210, 255, 220);
|
||||||
}
|
}
|
||||||
|
|
||||||
gSPDisplayList(POLY_KAL_DISP++, gRButtonIconDL);
|
gSPDisplayList(POLY_KAL_DISP++, gRButtonIconDL);
|
||||||
|
|
Loading…
Reference in New Issue