mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-01-30 15:42:42 +08:00
Round keyframe ruler labels
Track recurring user stat
This commit is contained in:
parent
941a00efb0
commit
9f62e13b68
@ -760,7 +760,7 @@ Interface.definePanels(() => {
|
||||
let height = this.graph_offset - this.graph_size * value;
|
||||
lines.push({
|
||||
position: height,
|
||||
label: value,
|
||||
label: Math.round(value),
|
||||
path: `M0 ${height} L10000 ${height}`
|
||||
});
|
||||
})
|
||||
|
@ -98,6 +98,17 @@ if (Blockbench.startup_count == 1) {
|
||||
console.error(err);
|
||||
}
|
||||
}
|
||||
if (Blockbench.startup_count == 3) {
|
||||
try {
|
||||
jQuery.ajax({
|
||||
url: 'https://blckbn.ch/api/event/recurring_user',
|
||||
type: 'POST',
|
||||
data: {}
|
||||
})
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
}
|
||||
}
|
||||
|
||||
Blockbench.on('before_closing', (event) => {
|
||||
if (!Blockbench.hasFlag('no_localstorage_saving')) {
|
||||
|
Loading…
Reference in New Issue
Block a user