This commit is contained in:
Alexander Drozdov
2021-10-22 12:39:01 +03:00
parent 2e0c9f2f6a
commit 545e1c17ac
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export function createTray () {
export function rebuildTrayMenu () {
const contextMenu = Menu.buildFromTemplate([
{
label: 'Settings',
label: 'Settings/League',
click: () => {
dialog.showMessageBox({ title: 'Settings', message: `Open Path of Exile and press "${config.get('overlayKey')}". Click on the button with cog icon there.` })
}
+2 -2
View File
@@ -76,8 +76,8 @@
>{{ t('Collapse') }} <i class="fas fa-chevron-up pl-1 text-xs text-gray-600"></i></button>
<ui-toggle v-if="shownStats.length != stats.length"
v-model="showHidden" class="text-gray-400 pt-2">{{ t('Hidden') }}</ui-toggle>
<ui-toggle
v-model="showFilterSources" class="ml-auto text-gray-400 pt-2">{{ t('Mods') }}</ui-toggle>
<!-- <ui-toggle
v-model="showFilterSources" class="ml-auto text-gray-400 pt-2">{{ t('Mods') }}</ui-toggle> -->
</div>
</div>
</div>
@@ -122,7 +122,9 @@ export function calculatedStatToFilter (
tradeId: stat.trade.ids[type],
statRef: stat.ref,
text: translation.string,
tag: type as unknown as FilterTag,
tag: sources.some(s => s.modifier.info.generation === 'corrupted') // TODO
? FilterTag.Corrupted
: type as unknown as FilterTag,
sources: sources,
roll: undefined,
disabled: true