File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 min-width : var (--sidebar-min-width );
4949 max-width : var (--sidebar-max-width );
5050 backdrop-filter : var (--sidebar-backdrop-filter );
51+ box-sizing : border-box;
5152
5253 .sidebarResizer {
5354 width : var (--resizer-width );
Original file line number Diff line number Diff line change @@ -64,12 +64,10 @@ class Sidebar {
6464 this . #initialWidth = this . #width = parseFloat (
6565 style . getPropertyValue ( "--sidebar-width" )
6666 ) ;
67- resizer . ariaValueMin = parseFloat (
68- style . getPropertyValue ( "--sidebar-min-width" )
69- ) ;
70- resizer . ariaValueMax = parseFloat (
71- style . getPropertyValue ( "--sidebar-max-width" )
72- ) ;
67+ resizer . ariaValueMin =
68+ parseFloat ( style . getPropertyValue ( "--sidebar-min-width" ) ) || 0 ;
69+ resizer . ariaValueMax =
70+ parseFloat ( style . getPropertyValue ( "--sidebar-max-width" ) ) || Infinity ;
7371 resizer . ariaValueNow = this . #width;
7472
7573 this . #makeSidebarResizable( ) ;
@@ -123,7 +121,7 @@ class Sidebar {
123121 window . addEventListener (
124122 "pointermove" ,
125123 ev => {
126- if ( ! pointerMoveAC ) {
124+ if ( ! pointerMoveAC || Math . abs ( ev . clientX - this . #prevX ) < 1 ) {
127125 return ;
128126 }
129127 stopEvent ( ev ) ;
Original file line number Diff line number Diff line change 278278 < div id ="attachmentsView " class ="hidden "> </ div >
279279 < div id ="layersView " class ="treeView hidden "> </ div >
280280 </ div >
281- < div id ="viewsManagerResizer " class ="sidebarResizer "> </ div >
281+ < div id ="viewsManagerResizer " class ="sidebarResizer " role =" separator " aria-controls =" viewsManager " tabindex =" 0 " > </ div >
282282 </ div >
283283 <!-- sidebarContainer -->
284284
You can’t perform that action at this time.
0 commit comments