|
@@ -181,9 +181,14 @@ export default class Load {
|
|
|
floor.bgImage.url,
|
|
|
floor.bgImage.center,
|
|
|
);
|
|
|
+
|
|
|
if (floor.bgImage.hasOwnProperty("scale")) {
|
|
|
bgImage.setScale(floor.bgImage.scale);
|
|
|
}
|
|
|
+ if (floor.bgImage.hasOwnProperty("width") && floor.bgImage.hasOwnProperty("height")) {
|
|
|
+ // debugger
|
|
|
+ // bgImage.setResolution(floor.bgImage.width,floor.bgImage.height);
|
|
|
+ }
|
|
|
}
|
|
|
if (floor.noBoardFrame) {
|
|
|
floorplanService.setBoardFrame(floor.noBoardFrame);
|