diff options
author | OzoneGrif | 2020-04-28 03:28:20 +0200 |
---|---|---|
committer | GitHub | 2020-04-28 03:28:20 +0200 |
commit | 20fda5a867d9afb0a90eda78834c487df40abd05 (patch) | |
tree | e9350f02a188fd35bcbe19a835e28a5116344f60 /compiler/src/Resource.hs | |
parent | add23cc6e83a677f8e747348a2429050efe8c515 (diff) | |
parent | b4b698ccbdec98dd902b6290f12207bf5547b140 (diff) | |
download | ldgallery-20fda5a867d9afb0a90eda78834c487df40abd05.tar.gz |
Merge pull request #195 from pacien/scroll-zoom
viewer/LdPicture: implement mousewheel and pinch zoom
Diffstat (limited to 'compiler/src/Resource.hs')
-rw-r--r-- | compiler/src/Resource.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/src/Resource.hs b/compiler/src/Resource.hs index b2a6bbf..e134468 100644 --- a/compiler/src/Resource.hs +++ b/compiler/src/Resource.hs | |||
@@ -72,7 +72,9 @@ instance ToJSON Resource where | |||
72 | 72 | ||
73 | data GalleryItemProps = | 73 | data GalleryItemProps = |
74 | Directory { items :: [GalleryItem] } | 74 | Directory { items :: [GalleryItem] } |
75 | | Picture { resource :: Resource } | 75 | | Picture |
76 | { resource :: Resource | ||
77 | , resolution :: Resolution } | ||
76 | | Other { resource :: Resource } | 78 | | Other { resource :: Resource } |
77 | deriving (Generic, Show) | 79 | deriving (Generic, Show) |
78 | 80 | ||