extend setSheetOffset to accept an optional 2nd offset
This commit is contained in:
parent
eaacbc86c7
commit
7d93642f42
4 changed files with 7 additions and 16 deletions
|
@ -255,11 +255,7 @@ gfx::Size NativeWindow::GetMaximumSize() {
|
|||
return GetSizeConstraints().GetMaximumSize();
|
||||
}
|
||||
|
||||
void NativeWindow::SetSheetOffset(const double offsetY) {
|
||||
sheet_offset_y_ = offsetY;
|
||||
}
|
||||
|
||||
void NativeWindow::SetSheetOffsets(const double offsetX, const double offsetY) {
|
||||
void NativeWindow::SetSheetOffset(const double offsetX, const double offsetY) {
|
||||
sheet_offset_x_ = offsetX;
|
||||
sheet_offset_y_ = offsetY;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue