mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 14:45:35 +00:00
Fix to slider reset event
This commit is contained in:
@@ -76,8 +76,8 @@ angular.module('app').directive('slider', ['$window', function($window) {
|
||||
angular.element($window).bind('orientationchange resize', render);
|
||||
}
|
||||
|
||||
scope.$on('reset', function() {
|
||||
val = def;
|
||||
scope.$on('reset', function(e, resetVal) {
|
||||
val = resetVal;
|
||||
drawBrush();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user