Merge pull request #261 from Jagnat/fix-reload-alpha

Fix alpha not being set correctly
This commit is contained in:
Dylan Araps 2018-06-19 10:03:55 +10:00 committed by GitHub
commit 5a3ab6fec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,7 @@ def get(img, light=False, backend="wal", cache_dir=CACHE_DIR):
colors = theme.file(cache_file)
logger.disabled = False
util.Color.alpha_num = colors["alpha"]
colors["alpha"] = util.Color.alpha_num
logging.info("Found cached colorscheme.")
else: