refactor(frontend): rename pizzax fields
This commit is contained in:
parent
16ad6b3f6c
commit
08f7e7d9b3
50 changed files with 243 additions and 236 deletions
|
|
@ -25,7 +25,7 @@ class EmojiPicker {
|
|||
}
|
||||
|
||||
public async init() {
|
||||
const emojisRef = store.reactiveState.pinnedEmojis;
|
||||
const emojisRef = store.r.pinnedEmojis;
|
||||
await popup(defineAsyncComponent(() => import('@/components/MkEmojiPickerDialog.vue')), {
|
||||
src: this.src,
|
||||
pinnedEmojis: emojisRef,
|
||||
|
|
|
|||
|
|
@ -608,8 +608,8 @@ export function getRenoteMenu(props: {
|
|||
});
|
||||
}
|
||||
|
||||
const configuredVisibility = prefer.s.rememberNoteVisibility ? store.state.visibility : prefer.s.defaultNoteVisibility;
|
||||
const localOnly = prefer.s.rememberNoteVisibility ? store.state.localOnly : prefer.s.defaultNoteLocalOnly;
|
||||
const configuredVisibility = prefer.s.rememberNoteVisibility ? store.s.visibility : prefer.s.defaultNoteVisibility;
|
||||
const localOnly = prefer.s.rememberNoteVisibility ? store.s.localOnly : prefer.s.defaultNoteLocalOnly;
|
||||
|
||||
let visibility = appearNote.visibility;
|
||||
visibility = smallerVisibility(visibility, configuredVisibility);
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ export function initChart() {
|
|||
// フォントカラー
|
||||
Chart.defaults.color = getComputedStyle(document.documentElement).getPropertyValue('--MI_THEME-fg');
|
||||
|
||||
Chart.defaults.borderColor = store.state.darkMode ? 'rgba(255, 255, 255, 0.1)' : 'rgba(0, 0, 0, 0.1)';
|
||||
Chart.defaults.borderColor = store.s.darkMode ? 'rgba(255, 255, 255, 0.1)' : 'rgba(0, 0, 0, 0.1)';
|
||||
|
||||
Chart.defaults.animation = false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class ReactionPicker {
|
|||
}
|
||||
|
||||
public async init() {
|
||||
const reactionsRef = store.reactiveState.reactions;
|
||||
const reactionsRef = store.r.reactions;
|
||||
await popup(defineAsyncComponent(() => import('@/components/MkEmojiPickerDialog.vue')), {
|
||||
src: this.src,
|
||||
pinnedEmojis: reactionsRef,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue