bfg-common 1.6.44 → 1.6.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.6.44",
4
+ "version": "1.6.45",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",
@@ -71,17 +71,13 @@ wdi.Agent = $.spcExtend(wdi.EventObject.prototype, {
71
71
  setResolution: function(width, height) {
72
72
  //TODO move this to a setting
73
73
  // SC-2122
74
- width = Math.min(width, 2047);
75
- width = Math.max(width, 800);
76
-
77
- height = Math.max(height, 600)
78
- // if(width < 800) {
79
- // width = 800;
80
- // }
81
- //
82
- // if(height < 600) {
83
- // height = 600;
84
- // }
74
+ if(width < 800) {
75
+ width = 800;
76
+ }
77
+
78
+ if(height < 600) {
79
+ height = 600;
80
+ }
85
81
 
86
82
  //adapt resolution, TODO: this needs to be refractored
87
83
  var packetData = {