mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-26 20:27:55 +00:00
Merge remote-tracking branch 'LumaLivy/website-photo-subjects' into website-photo-subjects
This commit is contained in:
commit
41915868b6
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@
|
||||||
const hw = w / 2;
|
const hw = w / 2;
|
||||||
const hh = h / 2;
|
const hh = h / 2;
|
||||||
|
|
||||||
const colours = ["#a5599f", "#477f84", "#5fa559", "#a5595f"];
|
const colours = ["#96dd3c", "#ceb424", "#cc0a1d", "#c800cc"];
|
||||||
|
|
||||||
subjects.forEach((s, si) => {
|
subjects.forEach((s, si) => {
|
||||||
const colour = colours[si % 4];
|
const colour = colours[si % 4];
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
context.translate(bx, by);
|
context.translate(bx, by);
|
||||||
|
|
||||||
// Username label
|
// Username label
|
||||||
context.font = "16px Arial";
|
context.font = "16px Lato";
|
||||||
context.fillStyle = colour;
|
context.fillStyle = colour;
|
||||||
|
|
||||||
// Text width/height for the label background
|
// Text width/height for the label background
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue