Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Commit

Permalink
Fixed FolioReaderWebView, menu controller still showing colors menu a…
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleycgs authored and hebertialmeida committed Jun 21, 2018
1 parent 0f161dd commit ae6d67c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/FolioReaderWebView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ open class FolioReaderWebView: UIWebView {
if let updateId = js("setHighlightStyle('\(HighlightStyle.classForStyle(style.rawValue))')") {
Highlight.updateById(withConfiguration: self.readerConfig, highlightId: updateId, type: style)
}

//FIX: https://github.com/FolioReader/FolioReaderKit/issues/316
setMenuVisible(false)
}

// MARK: - Create and show menu
Expand Down

0 comments on commit ae6d67c

Please sign in to comment.