diff options
Diffstat (limited to 'src/Reactor.cpp')
-rw-r--r-- | src/Reactor.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Reactor.cpp b/src/Reactor.cpp index 49cbe5a..7163539 100644 --- a/src/Reactor.cpp +++ b/src/Reactor.cpp @@ -137,7 +137,8 @@ Reactor::operator()(const action::Refresh&) void Reactor::operator()(const action::ResetFontSize&) { - _conf.set<setting::FontSize>(_canvas.get_default_font_size()); + _conf.set<setting::FontSize>( + static_cast<float>(_canvas.get_default_font_size())); } void @@ -158,7 +159,7 @@ void Reactor::operator()(const action::ZoomFull&) { _canvas.zoom_full(); - _conf.set<setting::Zoom>(_canvas.get_zoom()); + _conf.set<setting::Zoom>(static_cast<float>(_canvas.get_zoom())); } void |