Cleaned up browser support for full-screen and pointer-locking in the Video component, and reduced the default scale factor for mouse movement events from 1.0 to 0.5, since modern screens are generally much higher resolution
This commit is contained in:
parent
55cf71ccae
commit
a3c252bf99
24 changed files with 4060 additions and 4000 deletions
|
|
@ -100,12 +100,7 @@ class Usr {
|
|||
*/
|
||||
static getTimestamp()
|
||||
{
|
||||
var date = new Date();
|
||||
var padNum = function(n)
|
||||
{
|
||||
return (n < 10 ? "0" : "") + n;
|
||||
};
|
||||
return date.getFullYear() + "-" + padNum(date.getMonth() + 1) + "-" + padNum(date.getDate()) + " " + padNum(date.getHours()) + ":" + padNum(date.getMinutes()) + ":" + padNum(date.getSeconds());
|
||||
return Usr.formatDate("Y-m-d H:i:s");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue