OSDN Git Service

小さな修正
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / gui / RensoNoteListItem.java
index 732a0ef..e683284 100644 (file)
@@ -132,9 +132,9 @@ public class RensoNoteListItem extends QWidget{
                // 関連度
                double ratio = (double)relationPoints / allPointSum;
                QColor relationColor;
-               if (ratio >= 0.8) {
+               if (ratio >= 0.5) {
                        relationColor = new QColor(255, 0, 0);
-               } else if (ratio >= 0.5) {
+               } else if (ratio >= 0.25) {
                        relationColor = new QColor(255, 100, 0);
                } else {
                        relationColor = new QColor(255, 200, 0);