mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 20:04:11 +01:00
round mark page positions in log messages
This commit is contained in:
@@ -1440,9 +1440,10 @@ liberator.Marks = function () //{{{
|
|||||||
|
|
||||||
function markToString(name, mark)
|
function markToString(name, mark)
|
||||||
{
|
{
|
||||||
return name + " | " + mark.location +
|
return name + ", " + mark.location +
|
||||||
" | (" + mark.position.x + ", " + mark.position.y + ")" +
|
", (" + Math.round(mark.position.x * 100) +
|
||||||
(('tab' in mark) ? " | tab: " + liberator.tabs.index(mark.tab) : "");
|
"%, " + Math.round(mark.position.y * 100) + "%)" +
|
||||||
|
(('tab' in mark) ? ", tab: " + liberator.tabs.index(mark.tab) : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
function removeLocalMark(mark)
|
function removeLocalMark(mark)
|
||||||
|
|||||||
Reference in New Issue
Block a user