atem-state
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -5,2 +5,13 @@ # Change Log | ||
<a name="0.3.3"></a> | ||
## [0.3.3](https://github.com/nrkno/tv-automation-atem-state/compare/0.3.2...0.3.3) (2018-08-14) | ||
### Bug Fixes | ||
* look at input before programInput in oldState ([d0c4b73](https://github.com/nrkno/tv-automation-atem-state/commit/d0c4b73)) | ||
* look at old mixEffect for transitions (not new ME) ([bed621a](https://github.com/nrkno/tv-automation-atem-state/commit/bed621a)) | ||
<a name="0.3.2"></a> | ||
@@ -7,0 +18,0 @@ ## [0.3.2](https://github.com/nrkno/tv-automation-atem-state/compare/0.3.1...0.3.2) (2018-08-09) |
@@ -34,3 +34,3 @@ "use strict"; | ||
else { | ||
if (newMixEffect.transition !== newMixEffect.transitionProperties.style) { | ||
if (newMixEffect.transition !== (oldMixEffect.transition || oldMixEffect.transitionProperties.style)) { | ||
const command = new atem_connection_1.Commands.TransitionPropertiesCommand(); | ||
@@ -54,3 +54,3 @@ command.mixEffect = Number(mixEffectId); | ||
} | ||
if (oldMixEffect.programInput !== newMixEffect.programInput) { | ||
if ((oldMixEffect.input || oldMixEffect.programInput) !== newMixEffect.programInput) { | ||
// @todo: check if we need to use the cut command? | ||
@@ -57,0 +57,0 @@ // use cut command if: |
{ | ||
"name": "atem-state", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Typescript Node.js library for comparing ATEM states", | ||
@@ -111,3 +111,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"atem-connection": "^0.3.1", | ||
"atem-connection": "^0.3.2", | ||
"tslib": "^1.9.2" | ||
@@ -114,0 +114,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90090
Updatedatem-connection@^0.3.2