We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: pause button needs to change between pause/play symbols depending on whether the timer is running
The text was updated successfully, but these errors were encountered:
The stopwatch needs a rewrite to do this. It'll have to wait until after Roses so we have enough time to test
Sorry, something went wrong.
I implemented this for our Futsal fork using the following:
public/js/dashboard.js
socket.on("clock:tick", function (msg) { $scope.clock = msg; if (msg == '00:00') { $scope.[sport].clockPause = true; } }); $scope.pauseClock = function() { socket.emit("clock:pause"); $scope.[sport].clockPause = !$scope.[sport].clockPause; };
public/admin/templates/[sport].tmpl.html
<div class="ui icon blue button" ng-click="pauseClock()"> <i class="play icon" ng-show="![sport].clockpause"></i> <i class="pause icon" ng-show="[sport].clockpause"></i> </div>
Crude, but works.
No branches or pull requests
Fix: pause button needs to change between pause/play symbols depending on whether the timer is running
The text was updated successfully, but these errors were encountered: