diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-14 12:58:23 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-14 12:58:23 +0200 |
| commit | d1435a137bb50c514de8a79fa0c80264dfbb9f35 (patch) | |
| tree | 5522289f5ff44436bf9179cb70ea7c23875012b6 /app/client/modules | |
| parent | 9b55cce94742b698b55db76b5139556ee454c483 (diff) | |
deploy bundle
Diffstat (limited to 'app/client/modules')
| -rw-r--r-- | app/client/modules/pix2pix/views/pix2pix.live.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/client/modules/pix2pix/views/pix2pix.live.js b/app/client/modules/pix2pix/views/pix2pix.live.js index 26ad3ce..be19d15 100644 --- a/app/client/modules/pix2pix/views/pix2pix.live.js +++ b/app/client/modules/pix2pix/views/pix2pix.live.js @@ -7,7 +7,7 @@ import { Slider, Select, Button, Loading } from '../../../common/' -import { startRecording, stopRecording, saveFrame } from '../../../live/player' +import { startRecording, stopRecording, saveFrame, toggleFPS } from '../../../live/player' import * as liveActions from '../../../live/live.actions' import * as queueActions from '../../../queue/queue.actions' @@ -47,6 +47,7 @@ class Pix2PixLive extends Component { } seek(percentage){ const frame = Math.floor(percentage * (parseInt(this.props.frame.sequence_len) || 1) + 1) + console.log("seek to frame", percentage, frame) this.props.actions.live.seek(frame) } start(){ @@ -112,7 +113,7 @@ class Pix2PixLive extends Component { options={this.props.epochs} onChange={this.changeEpoch} /> - <Slider live + <Slider name='position' min={0.0} max={1.0} type='float' value={(this.props.frame.sequence_i || 0) / (this.props.frame.sequence_len || 1)} |
