Skip to content

Commit

Permalink
Merge branch 'master' into replay-file-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
notbakaneko authored Nov 1, 2023
2 parents 12b79f0 + a6a67c1 commit ab5cbd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions resources/js/beatmap-discussions/main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ export class Main extends React.PureComponent
currentBeatmap: @currentBeatmap()
currentUser: @state.currentUser
innerRef: @newDiscussionRef
onFocus: @handleNewDiscussionFocus
pinned: @state.pinnedNewDiscussion
setPinned: @setPinnedNewDiscussion
stickTo: @modeSwitcherRef
Expand Down
6 changes: 3 additions & 3 deletions resources/js/components/select-options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ export default class SelectOptions<T extends Option> extends React.Component<Pro
super(props);
makeObservable(this);
disposeOnUnmount(this, reaction(
() => this.showingSelector,
(showing) => {
blackoutToggle(showing, 0.5);
() => this.props.blackout && this.showingSelector,
(value) => {
blackoutToggle(value ?? false, 0.5);
},
));
}
Expand Down

0 comments on commit ab5cbd3

Please sign in to comment.