@@ -105,7 +105,7 @@ protected void updateItem(SymbolStyleSearchResult item, boolean empty) {
105
105
} else {
106
106
// get the symbol from the list view entry, and create an image from it
107
107
ListenableFuture <Image > symbolImageFuture = item .getSymbol ().createSwatchAsync (0x00000000 , 1 );
108
- try {
108
+ try {
109
109
// get the resulting image
110
110
Image symbolImage = symbolImageFuture .get ();
111
111
// create and image view and display it in the cell
@@ -208,7 +208,7 @@ private void loadSymbolsFromStyleFile() {
208
208
209
209
// loop through the results and add each item to a list view according to category
210
210
List <SymbolStyleSearchResult > symbolStyleSearchResults = symbolStyleSearchResultFuture .get ();
211
- symbolStyleSearchResults .forEach (symbolStyleSearchResult -> {
211
+ symbolStyleSearchResults .forEach (symbolStyleSearchResult -> {
212
212
213
213
// add the SymbolStyleSearchResult object to the correct list for its category
214
214
switch (symbolStyleSearchResult .getCategory ().toLowerCase ()) {
@@ -318,17 +318,16 @@ private void updateSymbolPreview(MultilayerPointSymbol multilayerPointSymbol) {
318
318
* Updates the size of the symbol preview and the label when the size bar is interacted with.
319
319
*/
320
320
@ FXML
321
- private void updateSymbolSize (){
322
- // get the slider value and convert to a string
323
- String sizeValue = Integer .toString ((int ) sizeSlider .getValue ());
324
- // display the value in the label
325
- sizeLabel .setText (sizeValue + " px" );
326
-
327
- // update the preview
328
- buildCompositeSymbol ();
321
+ private void updateSymbolSize () {
322
+ // get the slider value and convert to a string
323
+ String sizeValue = Integer .toString ((int ) sizeSlider .getValue ());
324
+ // display the value in the label
325
+ sizeLabel .setText (sizeValue + " px" );
326
+
327
+ // update the preview
328
+ buildCompositeSymbol ();
329
329
}
330
330
331
-
332
331
/**
333
332
* Clears all the graphics from the graphics overlay.
334
333
*/
0 commit comments