Skip to content

Commit

Permalink
version 4.19.7
Browse files Browse the repository at this point in the history
- better symbols for navigation buttons in the JS image viewer (https://stackoverflow.com/a/31303585/2792099)
- add `options(device.ask.default = FALSE)` to display-shiny example

From: aoles <[email protected]>

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/EBImage@131721 bc3139a8-67e5-0310-9ffc-ced21a209358
  • Loading branch information
aoles committed Aug 3, 2017
1 parent 2dcab0e commit e57253b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: EBImage
Version: 4.19.6
Version: 4.19.7
Title: Image processing and analysis toolbox for R
Encoding: UTF-8
Author: Andrzej Oleś, Gregoire Pau, Mike Smith, Oleg Sklyar, Wolfgang Huber, with contributions from Joseph Barry and Philip A. Marais
Expand Down
12 changes: 10 additions & 2 deletions inst/htmlwidgets/lib/viewer/display.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,27 @@
text-align: right;
margin-right: -1px;
}
.ebimage-buttons-nav {
font-size: 20px;
}
.ebimage-buttons-zoom {
font-size: 16px;
}
.ebimage-button {
font-family: Arial,sans-serif;
font-size: inherit;
font-weight: bold;
font-size: 16px;
width: 32px;
height: 32px;
line-height: 0px;
padding: 0;
vertical-align: top;
}
.btn-org {
font-size: 12px;
}
.btn-fit {
line-height: 0px;
}
.ebimage-canvas {
position: relative;
z-index: 1;
Expand Down
8 changes: 4 additions & 4 deletions inst/htmlwidgets/lib/viewer/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -531,10 +531,10 @@ function Viewer(parent){
zoombuttons = createElement('div', 'buttons-zoom ebimage', toolbar);

// create navigation buttons
createButton('first','&#171;<br/>&nbsp;','First frame [HOME]/[m] ',viewer.firstFrame, navbuttons);
createButton('prev','&lt;','Previous frame [PAGE DOWN]/[<]',viewer.prevFrame, navbuttons);
createButton('next','&gt;','Next frame [PAGE UP]/[>]',viewer.nextFrame, navbuttons);
createButton('last','&#187;<br/>&nbsp;','Last frame [END]/[?]',viewer.lastFrame, navbuttons);
createButton('first','&#x23ee;<br/>&nbsp;','First frame [HOME]/[m] ',viewer.firstFrame, navbuttons);
createButton('prev','&#x23f5;','Previous frame [PAGE DOWN]/[<]',viewer.prevFrame, navbuttons);
createButton('next','&#x23f4;','Next frame [PAGE UP]/[>]',viewer.nextFrame, navbuttons);
createButton('last','&#x23ed;<br/>&nbsp;','Last frame [END]/[?]',viewer.lastFrame, navbuttons);

// create zoom buttons
createButton('in','+','Zoom in [+]/[x]', viewer.zoomIn, zoombuttons);
Expand Down
2 changes: 2 additions & 0 deletions man/display-shiny.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e57253b

Please sign in to comment.