summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/axlsx/drawing/one_cell_anchor.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/axlsx/drawing/one_cell_anchor.rb b/lib/axlsx/drawing/one_cell_anchor.rb
index 1ae7c1b9..ffa10a7d 100644
--- a/lib/axlsx/drawing/one_cell_anchor.rb
+++ b/lib/axlsx/drawing/one_cell_anchor.rb
@@ -7,7 +7,7 @@ module Axlsx
class OneCellAnchor
include Axlsx::OptionsParser
-
+
# Creates a new OneCellAnchor object and an Pic associated with it.
# @param [Drawing] drawing
# @option options [Array] start_at the col, row to start at
@@ -23,6 +23,7 @@ module Axlsx
drawing.anchors << self
@from = Marker.new
parse_options options
+ start_at(*options[:start_at]) if options[:start_at]
@object = Pic.new(self, options)
end