X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTSpinner.java;h=881e1a7d8cddf08ee6fc448aae7a56d6acb93da0;hb=a69ed767c9c07cf35cf1c5f7821fc009cfe79cd2;hp=cdc5c0f4ed9b5bee9d9dda45e708e0cd471c56f8;hpb=d625990deaa2c24624adc9fbd3fcab58891f5aef;p=nikiroo-utils.git diff --git a/src/jexer/TSpinner.java b/src/jexer/TSpinner.java index cdc5c0f..881e1a7 100644 --- a/src/jexer/TSpinner.java +++ b/src/jexer/TSpinner.java @@ -3,7 +3,7 @@ * * The MIT License (MIT) * - * Copyright (C) 2017 Kevin Lamonte + * Copyright (C) 2019 Kevin Lamonte * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -162,10 +162,8 @@ public class TSpinner extends TWidget { spinnerColor = getTheme().getColor("tspinner.inactive"); } - getScreen().putCharXY(getWidth() - 2, 0, GraphicsChars.UPARROW, - spinnerColor); - getScreen().putCharXY(getWidth() - 1, 0, GraphicsChars.DOWNARROW, - spinnerColor); + putCharXY(getWidth() - 2, 0, GraphicsChars.UPARROW, spinnerColor); + putCharXY(getWidth() - 1, 0, GraphicsChars.DOWNARROW, spinnerColor); } // ------------------------------------------------------------------------