From 419ebded0f45eb61635dd45271af101986085fde Mon Sep 17 00:00:00 2001 From: Tobias Schulz-Hess Date: Fri, 29 Nov 2019 14:11:46 +0100 Subject: [PATCH] Fix: Using the correct font The number for the slider and for the frames did not show the correct font --- src/Components/PixelEditor.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Components/PixelEditor.jsx b/src/Components/PixelEditor.jsx index 2b13e5b..6d9bf7a 100644 --- a/src/Components/PixelEditor.jsx +++ b/src/Components/PixelEditor.jsx @@ -33,6 +33,9 @@ const style = { padding: 20, cursor: 'default', }, + frameRate: { + fontFamily: 'Roboto, sans-serif', + }, buttonWrapper: { marginBottom: 15, }, @@ -40,6 +43,7 @@ const style = { display: 'flex', alignItems: 'center', marginBottom: 15, + fontFamily: 'Roboto, sans-serif', }, slider: { marginTop: 0, @@ -336,7 +340,7 @@ class PixelEditor extends React.Component { /> } -
+
{ this.setState(s => ({playing: !s.playing}))}} style={style.buttons} icon={(playing) ? : } /> Frame {animation.animation.currentFrame + 1} / {animation.animation.frames}