Set icon based on window id, not name
This commit is contained in:
parent
9ba9bccd90
commit
3e0be6fa81
1 changed files with 2 additions and 2 deletions
|
|
@ -388,7 +388,7 @@ export default {
|
||||||
delete this.viewers.kaibu;
|
delete this.viewers.kaibu;
|
||||||
});
|
});
|
||||||
this.setWindowIconUrl(
|
this.setWindowIconUrl(
|
||||||
"Kaibu",
|
this.viewers.kaibu.config.id,
|
||||||
"https://kaibu.org/static/img/kaibu-icon.svg"
|
"https://kaibu.org/static/img/kaibu-icon.svg"
|
||||||
);
|
);
|
||||||
this.viewers.kaibu.set_mode("full");
|
this.viewers.kaibu.set_mode("full");
|
||||||
|
|
@ -402,7 +402,7 @@ export default {
|
||||||
delete this.viewers.imagej;
|
delete this.viewers.imagej;
|
||||||
});
|
});
|
||||||
this.setWindowIconUrl(
|
this.setWindowIconUrl(
|
||||||
"ImageJ.JS",
|
this.viewers.imagej.config.id,
|
||||||
"https://ij.imjoy.io/assets/icons/chrome/chrome-installprocess-128-128.png"
|
"https://ij.imjoy.io/assets/icons/chrome/chrome-installprocess-128-128.png"
|
||||||
);
|
);
|
||||||
// load the ITK/VTK viewer for imagej.js
|
// load the ITK/VTK viewer for imagej.js
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue