mirror of
https://github.com/hydra-synth/hydra.git
synced 2025-12-18 12:50:06 +01:00
re-added scrrencap
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -14,8 +14,8 @@
|
||||
<meta name="twitter:image" content="https://cdn.glitch.com/9c3a06ab-0731-42ca-a1a3-3a249825d08f%2FScreen%20Shot%202018-06-24%20at%204.47.49%20PM.png?1531889983803">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.0/p5.min.js" defer></script>
|
||||
<!-- <script src="./bundle.js?1.2.12ajk" defer></script> -->
|
||||
<script src="./bundle.min.js?1.3.1" defer></script>
|
||||
<script src="./bundle.js?1.2.12ajk" defer></script>
|
||||
<!-- <script src="./bundle.min.js?1.3.1" defer></script> -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Chivo:300,400,700" rel="stylesheet">
|
||||
<link rel="stylesheet" href="./css/fontawesome.css">
|
||||
<link rel="stylesheet" href="./css/codemirror.css">
|
||||
|
||||
@@ -51,6 +51,10 @@ module.exports = function store(state, emitter) {
|
||||
})
|
||||
})
|
||||
|
||||
emitter.on('screencap', () => {
|
||||
screencap()
|
||||
})
|
||||
|
||||
emitter.on('editor:randomize', function (evt) {
|
||||
const editor = state.editor.editor
|
||||
if (evt.shiftKey) {
|
||||
|
||||
Reference in New Issue
Block a user