Skip to content

Commit

Permalink
8347715: RichTextArea Follow-up: Minor Bugs
Browse files Browse the repository at this point in the history
Reviewed-by: kcr
  • Loading branch information
Andy Goryachev committed Jan 15, 2025
1 parent c692192 commit a95151e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2022, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -826,7 +826,7 @@ public final boolean isUseContentHeight() {
}

public final void setUseContentHeight(boolean on) {
useContentHeightProperty().set(true);
useContentHeightProperty().set(on);
}

/**
Expand Down Expand Up @@ -866,7 +866,7 @@ public final boolean isUseContentWidth() {
}

public final void setUseContentWidth(boolean on) {
useContentWidthProperty().set(true);
useContentWidthProperty().set(on);
}

/**
Expand Down

1 comment on commit a95151e

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.