Skip to content

Commit

Permalink
Render text layer above annotation layer
Browse files Browse the repository at this point in the history
  • Loading branch information
flacerdk committed Oct 12, 2017
1 parent 85b133a commit 720e4f0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,20 +212,20 @@ export default class Page extends Component {
scale={scale}
/>
{
renderTextLayer &&
<PageTextContent
key={`${page.pageIndex}@${scale}/${rotate}_text`}
onGetTextError={onGetTextError}
onGetTextSuccess={onGetTextSuccess}
renderAnnotations &&
<PageAnnotations
key={`${page.pageIndex}@${scale}/${rotate}_annotations`}
page={page}
rotate={rotate}
scale={scale}
/>
}
{
renderAnnotations &&
<PageAnnotations
key={`${page.pageIndex}@${scale}/${rotate}_annotations`}
renderTextLayer &&
<PageTextContent
key={`${page.pageIndex}@${scale}/${rotate}_text`}
onGetTextError={onGetTextError}
onGetTextSuccess={onGetTextSuccess}
page={page}
rotate={rotate}
scale={scale}
Expand Down

0 comments on commit 720e4f0

Please sign in to comment.