MediaWiki has been updated to version 1.35.1. Please report any problems here.

Changes

Jump to navigation Jump to search
m
Line 82: Line 82:  
var timer_hide = maketimer(1.0, func() {
 
var timer_hide = maketimer(1.0, func() {
 
   layers['EF2000-dirt.png'].hide();
 
   layers['EF2000-dirt.png'].hide();
}).start();
+
});
    
var timer_show = maketimer(3.0, func() {
 
var timer_show = maketimer(3.0, func() {
 
   layers['EF2000-dirt.png'].show();
 
   layers['EF2000-dirt.png'].show();
}).start();
+
});
    +
# start those two timers to hide/show the dirt texture with 2 second delays
 +
timer_hide().start();
 +
timer_show().start();
    
# Create a Canvas dialog window to hold the canvas and show that it's working
 
# Create a Canvas dialog window to hold the canvas and show that it's working

Navigation menu