Gay es Paint

main
Isaiah Odhner 2019-11-10 10:17:32 -05:00
parent edfefd2b3d
commit 14ee97fb6a
8 changed files with 11 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1019 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 992 B

View File

@ -42,7 +42,7 @@
<body>
<div id="about-paint" style="display: none">
<h1 id="about-paint-header">
<img src="images/icons/32x32.png" width="32" height="32" alt=""/>
<img src="images/icons/32x32.png" width="32" height="32" id="paint-32x32" alt=""/>
<span id="jspaint-project-name">JS Paint</span>
<small id="jspaint-version" title="expect bugs!">Alpha</small>
<button id="view-project-news">View Project News</button>

View File

@ -234,7 +234,11 @@ function reset_canvas_and_history(){
}
function update_title(){
document.title = `${file_name} - Paint`;
document.title = `${file_name} - ${is_pride_month ? "Gay es " : ""}Paint`;
if (is_pride_month) {
$("link[rel~='icon']").attr("href", "./images/icons/gay-es-paint-16x16-light-outline.png");
}
}
function create_and_trigger_input(attrs, callback){
@ -530,6 +534,9 @@ function show_about_paint(){
$about_paint_window.close();
}
$about_paint_window = $Window().title("About Paint");
if (is_pride_month) {
$("#paint-32x32").attr("src", "./images/icons/gay-es-paint-32x32-light-outline.png");
}
$about_paint_window.$content.append($about_paint_content.show()).css({padding: "15px"});

View File

@ -21,6 +21,8 @@ const TAU = //////|//////
////// | /////
//////|////// C/r;
const is_pride_month = new Date().getMonth() === 5; // June (0-based, 0 is January)
const $G = $(window);
function make_css_cursor(name, coords, fallback){