Screenshots arent affected by screenshot tool UI
This commit is contained in:
parent
a940673a95
commit
c595b13654
1 changed files with 32 additions and 30 deletions
|
|
@ -476,6 +476,7 @@ bool ScreenshotTool::prevent_undo_or_redo() {
|
|||
}
|
||||
|
||||
void ScreenshotTool::draw(SkCanvas* canvas, const DrawData& drawData) {
|
||||
if(!drawData.main->takingScreenshot) {
|
||||
if(controls.selectionMode == 0) {
|
||||
SkPaint paint1;
|
||||
paint1.setColor4f({0.0f, 0.0f, 0.0f, 0.3f});
|
||||
|
|
@ -512,3 +513,4 @@ void ScreenshotTool::draw(SkCanvas* canvas, const DrawData& drawData) {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue