diff --git a/panon/effect/build_shader_source.py b/panon/effect/build_shader_source.py index 2d56612..8c30957 100644 --- a/panon/effect/build_shader_source.py +++ b/panon/effect/build_shader_source.py @@ -31,7 +31,7 @@ def hex2vec4(value): if len(nums) < 4: nums.insert(0,1) assert len(nums) == 4 - return "vec4(%f,%f,%f,%f)" % tuple(nums[1:]+num[:1]) + return "vec4(%f,%f,%f,%f)" % tuple(nums[1:]+nums[:1]) def format_value(type_, value): diff --git a/plasmoid/metadata.desktop b/plasmoid/metadata.desktop index 680cc1b..1df06f1 100644 --- a/plasmoid/metadata.desktop +++ b/plasmoid/metadata.desktop @@ -9,7 +9,7 @@ X-KDE-ServiceTypes=Plasma/Applet X-KDE-PluginInfo-Author=rbn42 X-KDE-PluginInfo-Email= X-KDE-PluginInfo-Name=panon -X-KDE-PluginInfo-Version=0.4.0 +X-KDE-PluginInfo-Version=0.4.1 X-KDE-PluginInfo-Website=github.com/rbn42/panon X-KDE-PluginInfo-Category=Multimedia X-KDE-PluginInfo-Depends=