Skip to content

Commit

Permalink
[OGUI-432] stat box dissapear in online (#411)
Browse files Browse the repository at this point in the history
* Fix Control bug on request

* [OGUI-432] Use draw not redraw to allow passing drawing options

* [OGUI-432] Bump patch version

* [OGUI-432] Use redraw but always cleanup dom

* [OGUI-432] Clean root all the time
  • Loading branch information
graduta authored Nov 18, 2019
1 parent c642dd0 commit 921f501
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion QualityControl/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion QualityControl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aliceo2/qc",
"version": "1.6.5",
"version": "1.6.6",
"description": "O2 Quality Control Web User Interface",
"main": "export.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion QualityControl/public/object/objectDraw.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function redrawOnDataUpdate(model, dom, tabObject) {
if (objectRemoteData && objectRemoteData.isSuccess() &&
(shouldRedraw || shouldCleanRedraw)) {
setTimeout(() => {
if (shouldCleanRedraw && JSROOT.cleanup) {
if (JSROOT.cleanup) {
// Remove previous JSROOT content before draw to do a real redraw.
// Official redraw will keep options whenever they changed, we don't want this.
// (cleanup might not be loaded yet)
Expand Down

0 comments on commit 921f501

Please sign in to comment.