aboutsummaryrefslogtreecommitdiff
path: root/src/Config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Config.cpp')
-rw-r--r--src/Config.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Config.cpp b/src/Config.cpp
index 54aa21e..a17e883 100644
--- a/src/Config.cpp
+++ b/src/Config.cpp
@@ -193,6 +193,12 @@ namespace QuickMedia {
if(input_json.isObject())
get_json_value(input_json, "font_size", config->input.font_size);
+ const Json::Value &animation_json = json_root["animation"];
+ if(animation_json.isObject()) {
+ get_json_value(animation_json, "move_speed", config->animation.move_speed);
+ get_json_value(animation_json, "loading_icon_speed", config->animation.loading_icon_speed);
+ }
+
const Json::Value &video_json = json_root["video"];
if(video_json.isObject())
get_json_value(video_json, "max_height", config->video.max_height);