File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/editor/contrib/hover/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -772,10 +772,10 @@ export class ResizableHoverWidget extends MultiplePersistedSizeResizableContentW
772
772
}
773
773
774
774
private _setPersistedHoverDimensionsOrRenderNormally ( ) : void {
775
- const persistedSize = this . findPersistedSize ( ) ;
776
- // Suppose a persisted size is defined
777
775
let width : number | string ;
778
776
let height : number | string ;
777
+ const persistedSize = this . findPersistedSize ( ) ;
778
+ // Suppose a persisted size is defined
779
779
if ( persistedSize ) {
780
780
width = Math . min ( this . _findAvailableSpaceHorizontally ( ) ?? Infinity , persistedSize . width - 2 * SASH_WIDTH_MINUS_BORDER ) ;
781
781
height = Math . min ( this . _findAvailableSpaceVertically ( ) ?? Infinity , persistedSize . height - 2 * SASH_WIDTH_MINUS_BORDER ) ;
You can’t perform that action at this time.
0 commit comments