[core] TransformState::getIntegerZoom should be uint8_t
This commit is contained in:
@@ -132,7 +132,7 @@ double TransformState::getZoom() const {
|
||||
return scaleZoom(scale);
|
||||
}
|
||||
|
||||
int32_t TransformState::getIntegerZoom() const {
|
||||
uint8_t TransformState::getIntegerZoom() const {
|
||||
return getZoom();
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
|
||||
// Zoom
|
||||
double getZoom() const;
|
||||
int32_t getIntegerZoom() const;
|
||||
uint8_t getIntegerZoom() const;
|
||||
double getZoomFraction() const;
|
||||
|
||||
// Bounds
|
||||
|
||||
Reference in New Issue
Block a user