@wwtelescope/webclient 6.4.3 → 6.4.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # @wwtelescope/webclient 6.4.4 (2025-07-23)
2
+
3
+ - Update viewport-dependent items on a roll-only motion (#367, @Carifio24).
4
+
5
+
1
6
  # @wwtelescope/webclient 6.4.3 (2023-11-02)
2
7
 
3
8
  - Fix recovery of share links based on constellation indices (#363, @Carifio24).
@@ -98,7 +98,7 @@ jobs:
98
98
  - ${{ if parameters.isRelease }}:
99
99
  - job: branch_and_tag
100
100
  pool:
101
- vmImage: ubuntu-20.04
101
+ vmImage: ubuntu-22.04
102
102
  variables:
103
103
  - group: Deployment Credentials
104
104
  steps:
@@ -116,7 +116,7 @@ jobs:
116
116
  - job: github_releases
117
117
  dependsOn: branch_and_tag # otherwise, GitHub creates the tags itself!
118
118
  pool:
119
- vmImage: ubuntu-20.04
119
+ vmImage: ubuntu-22.04
120
120
  variables:
121
121
  - group: Deployment Credentials
122
122
  steps:
@@ -132,7 +132,7 @@ jobs:
132
132
 
133
133
  - job: npm_publish
134
134
  pool:
135
- vmImage: ubuntu-20.04
135
+ vmImage: ubuntu-22.04
136
136
  variables:
137
137
  - group: Deployment Credentials
138
138
  steps:
@@ -4,7 +4,7 @@
4
4
  jobs:
5
5
  - job: build_linux
6
6
  pool:
7
- vmImage: ubuntu-20.04
7
+ vmImage: ubuntu-22.04
8
8
 
9
9
  # Cranko: make and publish release commit
10
10
 
package/factories/Util.js CHANGED
@@ -1,4 +1,4 @@
1
- wwt.app.factory(
1
+ wwt.app.factory(
2
2
  'Util',
3
3
  [
4
4
  '$rootScope',
@@ -436,7 +436,8 @@
436
436
  init: true,
437
437
  RA: wwt.wc.getRA(),
438
438
  Dec: wwt.wc.getDec(),
439
- Fov: wwt.wc.get_fov()
439
+ Fov: wwt.wc.get_fov(),
440
+ Roll: wwt.wc.get_roll(),
440
441
  };
441
442
 
442
443
  $rootScope.$broadcast('viewportchange', viewport);
@@ -447,7 +448,8 @@
447
448
  init: true,
448
449
  RA: wwt.wc.getRA(),
449
450
  Dec: wwt.wc.getDec(),
450
- Fov: wwt.wc.get_fov()
451
+ Fov: wwt.wc.get_fov(),
452
+ Roll: wwt.wc.get_roll(),
451
453
  };
452
454
 
453
455
  $rootScope.$broadcast('viewportchange', viewport);
@@ -510,10 +512,15 @@
510
512
 
511
513
  var dirtyViewport = function () {
512
514
  var wasDirty = viewport.isDirty;
513
- viewport.isDirty = wwt.wc.getRA() !== viewport.RA || wwt.wc.getDec() !== viewport.Dec || wwt.wc.get_fov() !== viewport.Fov;
515
+ viewport.isDirty =
516
+ wwt.wc.getRA() !== viewport.RA ||
517
+ wwt.wc.getDec() !== viewport.Dec ||
518
+ wwt.wc.get_fov() !== viewport.Fov ||
519
+ wwt.wc.get_roll() !== viewport.Roll;
514
520
  viewport.RA = wwt.wc.getRA();
515
521
  viewport.Dec = wwt.wc.getDec();
516
522
  viewport.Fov = wwt.wc.get_fov();
523
+ viewport.Roll = wwt.wc.get_roll();
517
524
  if (viewport.isDirty || wasDirty) {
518
525
  $rootScope.viewport = viewport;
519
526
  $rootScope.$broadcast('viewportchange', viewport);
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "type": "git",
36
36
  "url": "https://github.com/WorldWideTelescope/wwt-web-client.git"
37
37
  },
38
- "version": "6.4.3"
38
+ "version": "6.4.4"
39
39
  }