Revert "Add a enhanceTextSelection preference to the viewer"

This reverts commit 15e45d772f.
This commit is contained in:
Tim van der Meij 2016-09-03 20:26:46 +02:00
parent 461a18a74a
commit a2525a8ba3
4 changed files with 6 additions and 14 deletions

View file

@ -36,7 +36,7 @@
* @property {PageViewport} viewport - The viewport of the text layer.
* @property {PDFFindController} findController
* @property {boolean} enhanceTextSelection - Option to turn on improved
* text selection. The default value is `false`.
* text selection.
*/
/**
@ -59,7 +59,7 @@ var TextLayerBuilder = (function TextLayerBuilderClosure() {
this.textDivs = [];
this.findController = options.findController || null;
this.textLayerRenderTask = null;
this.enhanceTextSelection = options.enhanceTextSelection || false;
this.enhanceTextSelection = options.enhanceTextSelection;
this._bindMouse();
}