Skip to content

Commit

Permalink
💄 draw credits more responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
ramesaliyev committed Oct 8, 2018
1 parent b0eecd8 commit 15989af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
</aside>
</div>
</div>
<script src="trigonoparty.js?v=anticache.16"></script>
<script src="trigonoparty.js?v=anticache.17"></script>
<script src="ui.js?v=anticache.16"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
Expand Down
7 changes: 6 additions & 1 deletion trigonoparty.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,12 @@

// Draw name of author and help.
config.drawNameInfo && $drawText(w - 10, 20, 'You can click & drag!', { align: 'right' });
config.drawNameCredits && $drawText(w - 10, h - 10, 'ramesaliyev / trigonoparty / 2018', { align: 'right' });

if (config.drawNameCredits) {
$drawText(w - 10, h - 42, '2018', { align: 'right' });
$drawText(w - 10, h - 27, 'trigonoparty', { align: 'right' });
$drawText(w - 10, h - 10, 'ramesaliyev', { align: 'right' });
}

// Increase degre.
config.play && !$state.drag && (state.degree += step);
Expand Down

0 comments on commit 15989af

Please sign in to comment.