Use single calculation for shield metrics

This commit is contained in:
Cmdr McDonald
2017-04-04 08:51:02 +01:00
parent 1237833c7a
commit 42c43d3f2d
4 changed files with 11 additions and 48 deletions

View File

@@ -54,6 +54,9 @@ export default class Modification extends TranslatedComponent {
this.setState({ value });
}
/**
* Triggered when an update to slider value is finished i.e. when losing focus
*/
_updateFinished() {
this.props.onChange();
}