Fixed the bug regarding the settings of background color in 'Controller Input Display'
This commit is contained in:
parent
bee720dd4d
commit
c030def3f5
3 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
## Jul 15, 2023
|
## Jul 15, 2023
|
||||||
|
### Fixed the bug that background color cannot be changed in 'Controller Input Display'
|
||||||
### Ported 'FastForward', 'InstantRestart', 'SpawnYoshi', 'StageIntroSkip' to all versions
|
### Ported 'FastForward', 'InstantRestart', 'SpawnYoshi', 'StageIntroSkip' to all versions
|
||||||
|
|
||||||
## Jul 9, 2023
|
## Jul 9, 2023
|
||||||
|
|
|
@ -64,7 +64,7 @@ export default function codegen(version, baseCode) {
|
||||||
// mtx.y
|
// mtx.y
|
||||||
int2hex(y - 16, 2),
|
int2hex(y - 16, 2),
|
||||||
// .conf.bg.color
|
// .conf.bg.color
|
||||||
int2hex((bgRGB << 24) | bgA, 4),
|
int2hex((bgRGB << 8) | bgA, 4),
|
||||||
// .conf.trigger.fill
|
// .conf.trigger.fill
|
||||||
int2hex(cTF, 4),
|
int2hex(cTF, 4),
|
||||||
// .conf.trigger.stroke
|
// .conf.trigger.stroke
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<script>
|
<script>
|
||||||
import { defaultConfig, lskey, getConfig } from './codegen.js';
|
import { defaultConfig, lskey, getConfig } from './codegen.js';
|
||||||
import hiddenConfig from './hidden.js';
|
import hiddenConfig from './hidden.js';
|
||||||
import { makeUpdateConfig, makeGetLabel, rgbI2S } from '../utils';
|
import { makeUpdateConfig, makeGetLabel, rgbI2S, rgbS2I } from '../utils';
|
||||||
import labels from '../labels.json';
|
import labels from '../labels.json';
|
||||||
|
|
||||||
const updateConfig = makeUpdateConfig(lskey, defaultConfig, null, hiddenConfig);
|
const updateConfig = makeUpdateConfig(lskey, defaultConfig, null, hiddenConfig);
|
||||||
|
@ -36,6 +36,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
updateConfig,
|
updateConfig,
|
||||||
rgbI2S,
|
rgbI2S,
|
||||||
|
rgbS2I,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
const config = getConfig();
|
const config = getConfig();
|
||||||
|
|
Loading…
Reference in a new issue