diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 9e108c7abd..bfd9e75a0f 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -18,6 +18,7 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released ### Changed - The "WEBKNOSSOS Changelog" modal now lazily loads its content potentially speeding up the initial loading time of WEBKNOSSOS and thus improving the UX. [#7843](https://github.com/scalableminds/webknossos/pull/7843) +- Updated the min max settings for the histogram to allow floating point color layers to have negative min / max values. [#7873](https://github.com/scalableminds/webknossos/pull/7873) - From now on only project owner get a notification email upon project overtime. The organization specific email list `overTimeMailingList` was removed. [#7842](https://github.com/scalableminds/webknossos/pull/7842) - Replaced skeleton comment tab component with antd's ``component. [#7802](https://github.com/scalableminds/webknossos/pull/7802) diff --git a/frontend/javascripts/oxalis/model/accessors/dataset_accessor.ts b/frontend/javascripts/oxalis/model/accessors/dataset_accessor.ts index bfb4c7ca46..64845bd147 100644 --- a/frontend/javascripts/oxalis/model/accessors/dataset_accessor.ts +++ b/frontend/javascripts/oxalis/model/accessors/dataset_accessor.ts @@ -237,10 +237,10 @@ export function getDefaultValueRangeOfLayer( return [0, 2 ** 63 - 1]; case "float": - return [0, maxFloatValue]; + return [-maxFloatValue, maxFloatValue]; case "double": - return [0, maxDoubleValue]; + return [-maxDoubleValue, maxDoubleValue]; default: return [0, 255];