Ignore:
Timestamp:
2022-01-11T13:57:48+13:00 (2 years ago)
Author:
cstephen
Message:

Refactor OcrImageDisplay to act as a magnification container for an image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-interfaces-dev/atea/ocr/src/components/MainPage.vue

    r35956 r35957  
    294294            <div class="main-content-columns">
    295295                <ocr-image-display
     296                    v-if="!showThresholdedImage"
    296297                    :imageUrl="imageUrl"
    297                     :thresholdedImageUrl="thresholdedImageUrl"
    298298                    :enableMagnifier="enableMagnifier"
    299                     :magnifierZoom="magnifierZoom"
    300                     :showThresholdedImage="showThresholdedImage" />
     299                    :magnifierZoom="magnifierZoom" />
     300
     301                <ocr-image-display
     302                    v-else
     303                    :imageUrl="thresholdedImageUrl"
     304                    :enableMagnifier="enableMagnifier"
     305                    :magnifierZoom="magnifierZoom" />
    301306
    302307                <textarea
Note: See TracChangeset for help on using the changeset viewer.