Browse Source

Merge remote-tracking branch 'origin/master'

bill 2 years ago
parent
commit
f357809459
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/graphic/Controls/UIControl.js

+ 2 - 1
src/graphic/Controls/UIControl.js

@@ -213,7 +213,8 @@ export default class UIControl {
   menu_backgroundImg(value) {
   menu_backgroundImg(value) {
     console.log(value)
     console.log(value)
     //
     //
-    this.graphicStateUI.showBackImage = value;
+    const backgroundImg = dataService.getBackgroundImg();
+    backgroundImg.setDisplay(value);
     this.layer.renderer.autoRedraw();
     this.layer.renderer.autoRedraw();
   }
   }