mirror of
https://github.com/thangisme/notes.git
synced 2024-06-12 07:10:51 +00:00
6 lines
172 B
JavaScript
6 lines
172 B
JavaScript
module.exports = function opaquer(color) {
|
|
color.installMethod('opaquer', function (amount) {
|
|
return this.alpha(isNaN(amount) ? 0.1 : amount, true);
|
|
});
|
|
};
|