This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fixes issue when comparing before the view is visible wouldn't expand
main
Eric Amodio
6 years ago
parent
99a3733964
commit
f9ae631d81
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
src/views/compareView.ts
+ 4
- 0
src/views/compareView.ts
View File
@ -112,6 +112,10 @@ export class CompareView extends ViewBase
{
}
private
async
addResults
(
results
:
ViewNode
)
{
if
(
!
this
.
visible
)
{
void
(
await
this
.
show
(
)
)
;
}
const
root
=
this
.
ensureRoot
(
)
;
root
.
addOrReplace
(
results
,
!
this
.
keepResults
)
;
Write
Preview
Loading…
Cancel
Save