File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -98,13 +98,15 @@ void IoaTouchScreenCalibrator::renderLoop(unsigned int currentValue, RenderPress
9898void IoaTouchScreenCalibrator::giveItBack () {
9999 renderer->giveBackDisplay ();
100100 renderer->setCustomDrawingHandler (lastDrawing);
101+ touchScreen->enableCalibration (true );
101102 lastDrawing = nullptr ;
102103 if (screenPrep != nullptr ) screenPrep (true );
103104}
104105
105106void IoaTouchScreenCalibrator::reCalibrateNow () {
106107 if (screenPrep != nullptr ) screenPrep (true );
107108 lastDrawing = renderer->getCurrentCustomDrawing ();
109+ touchScreen->enableCalibration (false );
108110 renderer->setCustomDrawingHandler (this );
109111 renderer->takeOverDisplay ();
110112}
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ namespace tcextras {
7070 if (!loadCalibration () && presentUiUninitialised) {
7171 reCalibrateNow ();
7272 }
73+ touchScreen->enableCalibration (true );
7374 }
7475
7576 /* *
You can’t perform that action at this time.
0 commit comments