Skip to content

Commit

Permalink
Merge pull request #176 from Tormak9970/dev
Browse files Browse the repository at this point in the history
chore: build v2.5.1
  • Loading branch information
Tormak9970 authored Apr 4, 2024
2 parents f6f1776 + 61da8b7 commit a0aa56d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 46 deletions.
43 changes: 0 additions & 43 deletions src/GamepadTabbedPageClasses.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/CustomTabContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { EditableTabSettings } from "./modals/EditTabModal";
import { TabFilterSettings, FilterType, Filter } from "./filters/Filters";
import { gamepadTabbedPageClasses } from "../GamepadTabbedPageClasses";
import { filtersHaveType, getIncludedCategoriesFromBitField } from "../lib/Utils";
import { gamepadTabbedPageClasses } from "decky-frontend-lib";

/**
* Wrapper for injecting custom tabs.
Expand Down
2 changes: 1 addition & 1 deletion src/components/filters/FilterOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ const AchievementsFilterOptions: VFC<FilterOptionsProps<'achievements'>> = ({ in
label={`${value}% or ${thresholdType === 'above' ? 'more' : 'less'} achievements completed`}
description={
<Focusable style={{ display: 'flex', flexDirection: 'row' }}>
<Slider value={value} min={1} max={100} onChange={onSliderChange} />
<Slider value={value} min={0} max={100} onChange={onSliderChange} />
<div style={{ marginLeft: '12px' }}>
<Dropdown rgOptions={[{ label: 'At least', data: 'above' }, { label: 'At most', data: 'below' }]} selectedOption={thresholdType} onChange={onThreshTypeChange} />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/filters/Filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ export function canBeInverted(filter: TabFilterSettings<FilterType>): boolean {
case "merge":
case "deck compatibility":
case "steam features":
case "achievements":
case "sd card":
return true;
case "platform":
Expand All @@ -185,7 +186,6 @@ export function canBeInverted(filter: TabFilterSettings<FilterType>): boolean {
case "release date":
case "last played":
case "demo":
case "achievements":
case "streamable":
return false;
}
Expand Down

0 comments on commit a0aa56d

Please sign in to comment.