Merge commit 'e89acc2302df49cbd7815b031e9c2939632bd204' into glitch-soc/merge-upstream
Conflicts: - `yarn.lock`: Conflict because of an extra dependency in glitch-soc. Updated upstream's dependencies as upstream did.
This commit is contained in:
commit
2ebf6d60a6
183 files changed
+959
-366
No files matched your search
@@ -52,7 +52,7 @@ export const HighlightedPost: React.FC<{
|
||||
);
|
||||
|
||||
if (!status) {
|
||||
return <div className={classNames(styles.box, styles.mostBoostedPost)} />;
|
||||
return null;
|
||||
}
|
||||
|
||||
let label;
|
||||
|
||||
@@ -114,6 +114,11 @@ export const MediaModal: FC<MediaModalProps> = forwardRef<
|
||||
|
||||
const bind = useDrag(
|
||||
({ active, movement: [mx], direction: [xDir], cancel }) => {
|
||||
// Disable swipe when zoomed in.
|
||||
if (zoomedIn) {
|
||||
return;
|
||||
}
|
||||
|
||||
// If dragging and swipe distance is enough, change the index.
|
||||
if (
|
||||
active &&
|
||||
|
||||
Reference in new issue
Block a user