Skip to content

Commit

Permalink
Fix Type::IconFit to use correct superclass
Browse files Browse the repository at this point in the history
  • Loading branch information
gettalong committed Jan 10, 2024
1 parent e52806d commit 7710927
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
### Fixed

* [HexaPDF::Layout::Box#fit] to use float comparison
* [HexaPDF::Type::IconFit] to use correct superclass


## 0.35.0 - 2024-01-06
Expand Down
4 changes: 2 additions & 2 deletions lib/hexapdf/type/icon_fit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
# commercial licenses are available at <https://gettalong.at/hexapdf/>.
#++

require 'hexapdf/type/annotation'
require 'hexapdf/dictionary'

module HexaPDF
module Type
Expand All @@ -43,7 +43,7 @@ module Type
# rectangle.
#
# See: PDF2.0 s12.7.8.3.2
class IconFit < Annotation
class IconFit < Dictionary

define_type :XXIconFit

Expand Down

0 comments on commit 7710927

Please sign in to comment.