diff options
Diffstat (limited to 'public/bundle.js')
| -rw-r--r-- | public/bundle.js | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/public/bundle.js b/public/bundle.js index 976a3c4..435436b 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -5261,10 +5261,14 @@ var SampleRNNLoss = function (_Component) { if (ii % 5 === 0) { ctx.lineWidth = 2; ctx.stroke(); + var fontSize = 12; + ctx.font = 'italic ' + fontSize * devicePixelRatio + 'px "Georgia"'; + ctx.fillStyle = 'rgba(0,12,28,0.6)'; + ctx.fillText(ii / 5 * 6, X + 8 * devicePixelRatio, h - (fontSize + 4) * devicePixelRatio); } } for (var ii = scaleMin; ii < scaleMax; ii += 1) { - Y = (0, _util.lerp)(ii / scaleMax, wmin, wmax); + Y = (0, _util.lerp)(ii / scaleMax, hmin, hmax); // ctx.strokeStyle = 'rgba(255,255,255,1.0)' ctx.beginPath(0, 0); ctx.moveTo(0, h - Y); @@ -5279,10 +5283,10 @@ var SampleRNNLoss = function (_Component) { ctx.stroke(); ctx.stroke(); ctx.setLineDash([0, 0]); - var fontSize = 12; - ctx.font = 'italic ' + fontSize * devicePixelRatio + 'px "Georgia"'; - ctx.fill = 'black'; - ctx.fillText(ii.toFixed(1), w - 50, h - Y + fontSize + 10 * devicePixelRatio); + var _fontSize = 12; + ctx.font = 'italic ' + _fontSize * devicePixelRatio + 'px "Georgia"'; + ctx.fillStyle = 'rgba(0,12,28,0.6)'; + ctx.fillText(ii.toFixed(1), w - 50, h - Y + _fontSize + 10 * devicePixelRatio); // } } ctx.lineWidth = 1; @@ -5600,7 +5604,7 @@ var SampleRNNResults = function (_Component) { ), !!bestRenders.length && (0, _preact.h)(_fileList.FileList, { files: bestRenders, - orderBy: 'epoch desc', + orderBy: 'date desc', fields: 'name date epoch size' }) ); |
