Skip to content

Commit

Permalink
add size to constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
jverzani committed May 26, 2015
1 parent a76e9b0 commit 2947434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/ggraphics.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ GGraphics <- setRefClass("GGraphics",

initFields(block=widget)

# if(!is.null(width) & !is.null(height))
# set_size(c(width=width, height=height))
if(!is.null(width) & !is.null(height))
set_size(c(width=width, height=height))

add_widget_events()
add_rubber_band()
Expand Down

0 comments on commit 2947434

Please sign in to comment.