File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,13 @@ export class SurveyLiveTester {
33
33
public set simulatorEnabled ( value : boolean ) {
34
34
this . _simulatorEnabled ( value ) ;
35
35
}
36
+ private _simulatorScaleEnabled = ko . observable < boolean > ( true ) ;
37
+ public get simulatorScaleEnabled ( ) {
38
+ return this . _simulatorScaleEnabled ( ) ;
39
+ }
40
+ public set simulatorScaleEnabled ( value : boolean ) {
41
+ this . _simulatorScaleEnabled ( value ) ;
42
+ }
36
43
private simulator ;
37
44
public simulatorOptions = {
38
45
device : "desktop" ,
@@ -276,7 +283,7 @@ export class SurveyLiveTester {
276
283
var offsetRatioX = this . koLandscapeOrientation ( ) ? 0.15 : 0.165 ;
277
284
var offsetRatioY = this . koLandscapeOrientation ( ) ? 0.17 : 0.155 ;
278
285
return {
279
- scale : scale ,
286
+ scale : this . simulatorScaleEnabled ? scale : 1 ,
280
287
width : width ,
281
288
height : height ,
282
289
frameWidth : width * 1.33 ,
You can’t perform that action at this time.
0 commit comments