fix, see issue 3, release 2.2.4 updated

This commit is contained in:
sojamo 2015-03-29 21:59:13 +08:00
parent d5c22c4be7
commit 3ef6bdf244
5 changed files with 20 additions and 4 deletions

View File

@ -18,6 +18,7 @@ The range of available controllers includes Slider, Button, Toggle, Knob, Textfi
* [Javascript](#javascript)
* [Problems and Issues](#issues)
* [Help](#help)
* Digital Object Identifiers
## <a name"install"></a>Installation
@ -366,4 +367,10 @@ If you want to help improve ControlP5, the first place for me to do so would be
If you have used ControlP5 in any of your projects, let me know, send me details, send me links, send me screeshots.
## <a name="issues"></a>Digital Object Identifiers
Digital Object Identifiers (DOI) are the backbone of the academic reference and metrics system which allows researchers writing software to make their work they share on GitHub citable by archiving one of their GitHub repositories and assigning a DOI with the data archiving tool Zenodo [(link)](https://guides.github.com/activities/citable-code/).
[![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.16290.svg)](http://dx.doi.org/10.5281/zenodo.16290)
Copyright 2006-2015 Andreas Schlegel

View File

@ -15,11 +15,11 @@
<property name="author" value="Andreas Schlegel"/>
<property name="copyright" value="(c) 2006-2015"/>
<property name="libraryName" value="controlP5"/>
<property name="versionNumber" value="2.2.4"/>
<property name="versionNumber" value="2.2.5"/>
<property name="yourLink" value="http://www.sojamo.de" />
<property name="keywords" value="gui, ui, controller, interface, user interface" />
<property name="tested:platform" value="osx, windows, linux" />
<property name="tested:processingVersion" value="2.2.3" />
<property name="tested:processingVersion" value="2.2.1" />
<property name="tested:dependencies" value="none" />
<property name="source:host" value="github" />
<property name="source:url" value="https://github.com/sojamo/controlp5" />

View File

@ -98,7 +98,7 @@ public class ControlP5 extends ControlP5Base {
/**
* @exclude
*/
@ControlP5.Invisible public static final String VERSION = "2.2.4";// "##version##";
@ControlP5.Invisible public static final String VERSION = "2.2.5";// "##version##";
/**
* @exclude

View File

@ -135,6 +135,10 @@ public class ScrollableList extends Controller< ScrollableList > implements Cont
// n += itemRange; /* UP */
int index = ( int ) n + itemIndexOffset;
if ( index >= items.size( ) ) {
return;
}
Map m = items.get( index );
switch ( _myType ) {

View File

@ -1,3 +1,8 @@
2015-03-29 Andreas Schlegel <andi at sojamo.de>
* src controlP5.ScrollabelList:
fixing ArrayOutOfBounds error as reported on github under issue 3 https://github.com/sojamo/controlp5/issues/3
2014-09-08 Andreas Schlegel <andi at sojamo.de>
* src controlP5.Icon: