Improve Missing Models browser resize behavior
This commit is contained in:
@@ -397,7 +397,7 @@ test('missing browser splitter keeps a compositor preview between live layout fr
|
||||
}
|
||||
|
||||
assert.match(missingBrowserMethodsSource, /dragThreshold:\s*4/);
|
||||
assert.match(missingBrowserMethodsSource, /layoutFrameStride:\s*2/);
|
||||
assert.match(missingBrowserMethodsSource, /layoutFrameStride:\s*3/);
|
||||
assert.match(missingBrowserMethodsSource, /translate3d\(/);
|
||||
assert.match(
|
||||
resolverMainCssSource,
|
||||
|
||||
@@ -751,6 +751,12 @@
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.mr-missing-browser.is-resizing *,
|
||||
.mr-missing-browser.is-resizing .mr-missing-list-row,
|
||||
.mr-missing-browser.is-resizing .mr-card {
|
||||
transition: none !important;
|
||||
}
|
||||
|
||||
#model-resolver-modal .mr-missing-list-row {
|
||||
content-visibility: auto;
|
||||
contain-intrinsic-size: 70px;
|
||||
@@ -8960,6 +8966,11 @@ a.mr-image-preview-resource-name:hover {
|
||||
content-visibility: auto;
|
||||
contain-intrinsic-size: auto 220px;
|
||||
}
|
||||
|
||||
.mr-missing-browser.is-resizing .mr-search-results-table-wrap,
|
||||
.mr-missing-browser.is-resizing .mr-match-row {
|
||||
content-visibility: hidden !important;
|
||||
}
|
||||
}
|
||||
|
||||
#model-resolver-modal .mr-missing-detail-pane .mr-match-row.mr-best-match {
|
||||
|
||||
@@ -1344,7 +1344,7 @@ export const missingBrowserMethods = {
|
||||
startWidth: detailWidth,
|
||||
bounds,
|
||||
dragThreshold: 4,
|
||||
layoutFrameStride: 2,
|
||||
layoutFrameStride: 3,
|
||||
onPreview: (pendingWidth, appliedWidth) => {
|
||||
this._pendingMissingBrowserSplitWidth = pendingWidth;
|
||||
this.activateMissingBrowserSplitUi();
|
||||
|
||||
Reference in New Issue
Block a user