Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved annotations' display/behavior. #4318

Merged
merged 1 commit into from Mar 7, 2014
Merged

Improved annotations' display/behavior. #4318

merged 1 commit into from Mar 7, 2014

Commits on Mar 7, 2014

  1. Improved annotations' display/behavior.

    Added an "InteractiveAnnotation" class to homogenize the annotations' structure (highlighting) and user interactions (for now, used for text and link annotations).
    
    Text annotations:
    The appearance (AP) has priority over the icon (Name).
    The popup extends horizontally (up to a limit) as well as vertically.
    Reduced the title's font size.
    The annotation's color (C) is used to color the popup's background.
    On top of the mouseover show/hide behavior, a click on the icon will lock the annotation open (for mobile purposes). It can be closed with another click on either the icon or the popup.
    
    An annotation printing is conditioned by its "print" bit
    Unsupported annotations are not displayed at all.
    Samuel Chantaraud committed Mar 7, 2014
    Configuration menu
    Copy the full SHA
    076b343 View commit details
    Browse the repository at this point in the history