Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Start, previous, next, end are the control names

  • Loading branch information...
commit 14db86e401ebff8b00abe1011f8eff49d25dd057 1 parent 11931d3
@chellmuth authored
Showing with 10 additions and 10 deletions.
  1. +2 −2 web/hive.css
  2. +6 −6 web/hive.dart
  3. +2 −2 web/hive.html
View
4 web/hive.css
@@ -98,10 +98,10 @@ canvas {
#control-start-id {
left: 20px;
}
-#control-rewind-id {
+#control-previous-id {
left: 60px;
}
-#control-forward-id {
+#control-next-id {
left: 100px;
}
#control-end-id {
View
12 web/hive.dart
@@ -34,17 +34,17 @@ void start() {
..onLoadEnd.listen((_) => setupSGF(fileReader.result, gamestate));
});
- var nextControl = querySelector("#control-forward-id");
+ var nextControl = querySelector("#control-next-id");
nextControl.onClick.listen((_) => showNextMove(gamestate));
- var previousControl= querySelector("#control-rewind-id");
+ var previousControl= querySelector("#control-previous-id");
previousControl.onClick.listen((_) => showPreviousMove(gamestate));
- var firstControl = querySelector("#control-start-id");
- firstControl.onClick.listen((_) => showFirstMove(gamestate));
+ var startControl = querySelector("#control-start-id");
+ startControl.onClick.listen((_) => showFirstMove(gamestate));
- var lastControl = querySelector("#control-end-id");
- lastControl.onClick.listen((_) => showLastMove(gamestate));
+ var endControl = querySelector("#control-end-id");
+ endControl.onClick.listen((_) => showLastMove(gamestate));
AnchorElement uploadLink = querySelector('#upload-anchor-id');
uploadLink.onClick.listen((_) {
View
4 web/hive.html
@@ -21,8 +21,8 @@
</div>
<img id="control-start-id" class="playback-control" src="images/beginning-icon.png" />
- <img id="control-rewind-id" class="playback-control" src="images/rewind-icon.png" />
- <img id="control-forward-id" class="playback-control" src="images/play-icon.png" />
+ <img id="control-previous-id" class="playback-control" src="images/rewind-icon.png" />
+ <img id="control-next-id" class="playback-control" src="images/play-icon.png" />
<img id="control-end-id" class="playback-control" src="images/end-icon.png" />
<div id="upload-id">
Please sign in to comment.
Something went wrong with that request. Please try again.