Gay es Paint
parent
edfefd2b3d
commit
14ee97fb6a
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 |
|
@ -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>
|
||||
|
|
|
@ -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"});
|
||||
|
||||
|
|
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue