File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
apps/desktop/src/components Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 179
179
});
180
180
181
181
function cycleWidth() {
182
- if (direction === ' up' || direction === ' down' ) return ;
183
- const width = $value || viewport .offsetWidth ;
184
- if (width && width > maxWidth / 2 ) {
185
- value .set (Math .floor (width / 2 ));
186
- } else if (width ) {
187
- value .set (Math .floor (width * 2 ));
188
- }
182
+ // noop for now - way too many false positives where accidentally double-clicking causes content shift
183
+ //
184
+ // if (direction === 'up' || direction === 'down') return;
185
+ // const width = $value || viewport.offsetWidth;
186
+ // if (width && width > maxWidth / 2) {
187
+ // value.set(Math.floor(width / 2));
188
+ // } else if (width) {
189
+ // value.set(Math.floor(width * 2));
190
+ // }
189
191
}
190
192
</script >
191
193
You can’t perform that action at this time.
0 commit comments