====== Differences ====== This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
script_minimalistic_page_indicator [2014/07/22 14:43] trianguloy |
script_minimalistic_page_indicator [2014/10/19 15:27] (current) trianguloy [Script code] |
||
|---|---|---|---|
| Line 26: | Line 26: | ||
| var left = Math.round(cont.getBoundingBox().getLeft()/width); | var left = Math.round(cont.getBoundingBox().getLeft()/width); | ||
| - | var right = Math.round(cont.getBoundingBox().getRight()/width)-1; - | + | var right = Math.round(cont.getBoundingBox().getRight()/width)-1; |
| var page = Math.round(cont.getPositionX()/width); | var page = Math.round(cont.getPositionX()/width); | ||