Skip to content

Commit 4eafe33

Browse files
committed
Changed button method to reflect button name
1 parent 0005bb6 commit 4eafe33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/esri/samples/scene/orbit_the_camera_around_an_object/OrbitTheCameraAroundAnObjectController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ private void handleCockpitViewButtonClicked() {
181181
* the plane pitches.
182182
*/
183183
@FXML
184-
private void handleFollowViewButtonClicked() {
184+
private void handleCenterViewButtonClicked() {
185185
allowDistanceInteractionCheckBox.setDisable(false);
186186

187187
orbitCameraController.setAutoPitchEnabled(false);

src/main/resources/fxml/orbit_the_camera_around_an_object.fxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<Insets topRightBottomLeft="10"/>
5050
</padding>
5151
<Button text="Cockpit view" maxWidth="Infinity" onAction="#handleCockpitViewButtonClicked"/>
52-
<Button text="Center view" maxWidth="Infinity" onAction="#handleFollowViewButtonClicked"/>
52+
<Button text="Center view" maxWidth="Infinity" onAction="#handleCenterViewButtonClicked"/>
5353

5454
<background>
5555
<Background>

0 commit comments

Comments
 (0)