Skip to content

Commit 6bdbde2

Browse files
committed
Revert change from pull request #221. dnpwwo found that this changes causes part of the 2nd floor plan to be visible when viewing the 1st.
Perhaps somebody else has the right fix?
1 parent 6329338 commit 6bdbde2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

www/app/FloorplanController.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ define(['app'], function (app) {
141141
else {
142142
$("#floorplancontent").offset({top:0});
143143
}
144-
//width of Report button is about 77px, this value is used to correct the width of floorplancontent
145-
//without this an horizontal scroll bar appears after clicking an icon in floormap and viewing a graph
146-
$("#floorplancontent").width($("#main-view").width() - 77).height(wrpHeight);
144+
$("#floorplancontent").width($("#main-view").width()).height(wrpHeight);
147145
if ($scope.debug > 0) $.cachenoty=generate_noty('info', '<b>Window: '+$window.innerWidth+'x'+$window.innerHeight+'</b><br/><b>View: '+$("#floorplancontent").width()+'x'+wrpHeight+'</b>', 10000);
148146
$(".imageparent").each(function( i ) { $("#"+$(this).attr('id')+'_svg').width($("#floorplancontent").width()).height(wrpHeight); });
149147
if ($scope.FloorplanCount > 1) {

0 commit comments

Comments
 (0)