Skip to content

Commit

Permalink
Merge pull request #177 from Tormak9970/release
Browse files Browse the repository at this point in the history
chore: bring main up to v2.5.1
  • Loading branch information
Tormak9970 authored Apr 6, 2024
2 parents 2fbb198 + 9f62a26 commit c64c1a4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 47 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tabmaster",
"version": "2.5.0",
"version": "2.5.1",
"description": "Gives you full control over your Steam library! Support for customizing, adding, and hiding Library Tabs.",
"scripts": {
"build": "shx rm -rf dist && rollup -c",
Expand Down
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 c64c1a4

Please sign in to comment.