forked from upstream-mirrors/OpenTracks
@@ -946,7 +946,7 @@ public class ChartView extends View {
|
|||||||
*/
|
*/
|
||||||
private void updateEffectiveDimensions() {
|
private void updateEffectiveDimensions() {
|
||||||
effectiveWidth = Math.max(0, width - leftBorder - rightBorder);
|
effectiveWidth = Math.max(0, width - leftBorder - rightBorder);
|
||||||
effectiveHeight = Math.max(0, height - topBorder - bottomBorder);
|
effectiveHeight = Math.max(0, height - topBorder - bottomBorder - spacer);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user