2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Added button highlighting for flipped image to photo editor.

This commit is contained in:
23rd
2021-02-22 11:14:23 +03:00
parent 1a7d5b7c95
commit 183408cb2d
3 changed files with 18 additions and 2 deletions

View File

@@ -57,7 +57,10 @@ PhotoEditor::PhotoEditor(
_modifications,
_undoController,
std::move(data)))
, _controls(base::make_unique_q<PhotoEditorControls>(this, _undoController))
, _controls(base::make_unique_q<PhotoEditorControls>(
this,
_undoController,
_modifications))
, _colorPicker(std::make_unique<ColorPicker>(
this,
Deserialize(Core::App().settings().photoEditorBrush()))) {