P5-1417: Dragbar and rulers should work with inches
This commit is contained in:
@@ -24,7 +24,7 @@ function RulerHandler(viewport) {
|
||||
dim = viewport.getData().dim.height - dim;
|
||||
}
|
||||
|
||||
this.setText(Math.round(dim * 100) / 100 + ' cm');
|
||||
this.setText(Math.round(dim * 100) / 100 + ' ' + viewport.getData().dim.units);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user