Skip to content

Commit

Permalink
5.0.1 Tile Cache Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
BiologyTools committed Apr 21, 2024
1 parent d828b55 commit c21ac9b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions BioGTK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<TargetFramework>net8.0</TargetFramework>
<OutputType>Library</OutputType>
<RuntimeIdentifiers>osx-x64;linux-x64;win-x64;win-arm64;linux-arm64;osx-arm64;</RuntimeIdentifiers>
<AssemblyVersion>5.0.0</AssemblyVersion>
<FileVersion>5.0.0</FileVersion>
<AssemblyVersion>5.0.1</AssemblyVersion>
<FileVersion>5.0.1</FileVersion>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>BioGTK</PackageId>
<Title>BioGTK</Title>
Expand All @@ -17,11 +17,11 @@
<PackageLicenseExpression> GPL-3.0-only</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<Description>A .NET application &amp; library for editing &amp; annotating various microscopy image formats. Supports all bioformats supported images. Integrates with ImageJ, running ImageJ filters &amp; macro functions. Supports Windows, Linux and Mac.</Description>
<Version>5.0.0</Version>
<Version>5.0.1</Version>
<Platforms>AnyCPU</Platforms>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<PlatformTarget>AnyCPU</PlatformTarget>
<PackageReleaseNotes>BioImage.IO models support both ONNX &amp; PyTorch models.</PackageReleaseNotes>
<PackageReleaseNotes>Tile Cache Fix.</PackageReleaseNotes>
<Authors>Erik Repo</Authors>
</PropertyGroup>

Expand Down Expand Up @@ -464,12 +464,12 @@
<!-- Also defines .app file name -->
<CFBundleDisplayName>BioGTK</CFBundleDisplayName>
<CFBundleIdentifier>com.BioGTK</CFBundleIdentifier>
<CFBundleVersion>5.0.0</CFBundleVersion>
<CFBundleVersion>5.0.1</CFBundleVersion>
<CFBundlePackageType>APPL</CFBundlePackageType>
<CFBundleSignature>????</CFBundleSignature>
<CFBundleExecutable>BioGTKApp</CFBundleExecutable>
<CFBundleIconFile>bio.icns</CFBundleIconFile>
<CFBundleShortVersionString>5.0.0</CFBundleShortVersionString>
<CFBundleShortVersionString>5.0.1</CFBundleShortVersionString>
<!-- Will be copied from output directory -->
<NSPrincipalClass>NSApplication</NSPrincipalClass>
<NSHighResolutionCapable>true</NSHighResolutionCapable>
Expand Down
2 changes: 1 addition & 1 deletion Source/Bio/ISlideSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class TileCache
private LruCache<TileInformation, byte[]> cache;
private int capacity;
SlideSourceBase source = null;
public TileCache(SlideSourceBase source, int capacity = 500)
public TileCache(SlideSourceBase source, int capacity = 1000)
{
this.source = source;
this.capacity = capacity;
Expand Down
2 changes: 1 addition & 1 deletion Source/ImageView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ private void ImageView_KeyPressEvent(object o, KeyPressEventArgs e)
keyDown = e.Event.Key;
double moveAmount = 5 * Scale.Width;
double zoom = Level;
double movepyr = 50 * Level;
double movepyr = 50 * (Level+1);
if (e.Event.Key == Gdk.Key.c && e.Event.State == ModifierType.ControlMask)
{
CopySelection();
Expand Down

0 comments on commit c21ac9b

Please sign in to comment.