This commit is contained in:
syuilo
2019-04-08 19:56:42 +09:00
parent 3a26acbdb2
commit fab0cc51b3
13 changed files with 17 additions and 24 deletions

View File

@ -356,7 +356,7 @@ export default async function(
logger.debug(`average color is calculated: ${r}, ${g}, ${b}`);
const value = info.isOpaque ? `rgb(${r},${g},${b})` : `rgba(${r},${g},${b},255)`;
const value = info.isOpaque ? `rgba(${r},${g},${b},0)` : `rgba(${r},${g},${b},255)`;
properties['avgColor'] = value;
} catch (e) { }