pull2
This commit is contained in:
parent
65ebe59a78
commit
cb80d0bdd5
@ -51,8 +51,7 @@ namespace DumpTruck.Generics
|
|||||||
/// <param name="collect"></param>
|
/// <param name="collect"></param>
|
||||||
/// <param name="obj"></param>
|
/// <param name="obj"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static int operator +(TrucksGenericCollection<T, U> collect, T?
|
public static int operator +(TrucksGenericCollection<T, U> collect, T? obj)
|
||||||
obj)
|
|
||||||
{
|
{
|
||||||
if (obj == null)
|
if (obj == null)
|
||||||
{
|
{
|
||||||
@ -124,7 +123,6 @@ namespace DumpTruck.Generics
|
|||||||
private void DrawObjects(Graphics g)
|
private void DrawObjects(Graphics g)
|
||||||
{
|
{
|
||||||
int width = _pictureWidth / _placeSizeWidth;
|
int width = _pictureWidth / _placeSizeWidth;
|
||||||
|
|
||||||
for (int i = 0; i < _collection.Count; i++)
|
for (int i = 0; i < _collection.Count; i++)
|
||||||
{
|
{
|
||||||
DrawningTruck? truck = _collection[i];
|
DrawningTruck? truck = _collection[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user